Error while building VBCS application using devloper cloud service
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)