Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Error while building VBCS application using devloper cloud service

edited Feb 10, 2020 9:47AM in Visual Builder 3 comments

Summary

SyntaxError: Use of const in strict mode.

Content

Hi,

I have created the build job as recommended on the post below but getting the syntax error during build, can anyone have some suggestion?

https://blogs.oracle.com/vbcs/automating-cicd-and-app-optimization-for-visual-builder-apps-with-developer-cloud

 

Error Trace:

const escapeStringRegexp = require('escape-string-regexp');
^^^^^
SyntaxError: Use of const in strict mode.
     at  exports.runInThisContext (vm.js:73:16)
     at  Module._compile (module.js:443:25)
     at  Object.Module._extensions..js (module.js:478:10)
     at  Module.load (/home/builder/hudson/workspace/developer97221-a428809_erpextension_27671.WDCManageOrderExtensionDevBuildandDeployJob/node_modules/grunt/node_modules/coffeescript/lib/coffee-script/register.js:45:36)
     at  Function.Module._load (module.js:310:12)
     at  Module.require (module.js:365:17)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!