on 2018 Oct 12 12:58 PM
Hi,
I have installed SmartEdit as defined here: https://help.hybris.com/1808/hcd/0955af7dd5154a8db28dfce327d8dae5.html
But after doing ant npminstall, ant (clean) all will fail with bottom stacktrace As mentioned in other topices, I have cleaned up all node_modules folders. Sadly, that did not help.
Thanks in advance for any help!
[echo] Running grunt packageSkipTests
[exec]
[exec] >>> Loading grunt tasks
[exec] Loading "e2e_report.js" tasks...ERROR
[exec] >> SyntaxError: Unexpected token {
[exec] Loading "generateWebpackConfig.js" tasks...ERROR
[exec] >> SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
[exec] Loading "protractorE2eTasks.js" tasks...ERROR
[exec] >> SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
[exec] Loading "bundleTypes.js" tasks...ERROR
[exec] >> SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
[exec]
[exec] >>> Searching for task and target names
[exec] Searching in directory:
[exec] C:\Dev\workspace\wuh-hybris\hybris\bin\ext-content\smartedit\smartedit-build\config\config
[exec] >> ERROR: Problem reading grunt task config for C:\Dev\workspace\wuh-hybris\hybris\bin\ext-content\smartedit\smartedit-build\config\config\clean.js
[exec] >> SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
[exec] >> at exports.runInThisContext (vm.js:53:16)
[exec] >> at Module._compile (module.js:387:25)
[exec] >> at Object.Module._extensions..js (module.js:422:10)
[exec] >> at Module.load (C:\Dev\workspace\wuh-hybris\hybris\bin\ext-content\npmancillary\resources\npm\node_modules\coffee-script\lib\coffee-script\register.js:45:36)
[exec] >> at Function.Module._load (module.js:314:12)
[exec] >> at Module.require (module.js:367:17)
[exec] >> at require (internal/module.js:20:19)
[exec] >> at C:\Dev\workspace\wuh-hybris\hybris\bin\ext-content\smartedit\smartedit-build\config\grunt-utils\loader.js:392:36
[exec] >> at C:\Dev\workspace\wuh-hybris\hybris\bin\ext-content\smartedit\smartedit-build\config\grunt-utils\loader.js:378:25
[exec] >> at Array.forEach (native)
[exec] >> at recursiveCallForEachFile (C:\Dev\workspace\wuh-hybris\hybris\bin\ext-content\smartedit\smartedit-build\config\grunt-utils\loader.js:373:23)
[exec] >> at C:\Dev\workspace\wuh-hybris\hybris\bin\ext-content\smartedit\smartedit-build\config\grunt-utils\loader.js:387:17
[exec] >> at Array.forEach (native)
[exec] >> at SmarteditBuildLoader.load (C:\Dev\workspace\wuh-hybris\hybris\bin\ext-content\smartedit\smartedit-build\config\grunt-utils\loader.js:385:37)
[exec] >> at Object.module.exports (C:\Dev\workspace\wuh-hybris\hybris\bin\ext-content\smartedit\Gruntfile.js:16:41)
[exec] >> at loadTask (C:\Dev\workspace\wuh-hybris\hybris\bin\ext-content\npmancillary\resources\npm\node_modules\grunt\lib\grunt\task.js:318:10)
[exec] >> at Task.task.init (C:\Dev\workspace\wuh-hybris\hybris\bin\ext-content\npmancillary\resources\npm\node_modules\grunt\lib\grunt\task.js:437:5)
[exec] >> at Object.grunt.tasks (C:\Dev\workspace\wuh-hybris\hybris\bin\ext-content\npmancillary\resources\npm\node_modules\grunt\lib\grunt.js:111:8)
[exec] >> at Object.module.exports [as cli] (C:\Dev\workspace\wuh-hybris\hybris\bin\ext-content\npmancillary\resources\npm\node_modules\grunt\lib\grunt\cli.js:27:9)
[exec] >> at Object.<anonymous> (C:\Dev\workspace\wuh-hybris\hybris\bin\ext-content\npmancillary\resources\npm\node_modules\grunt-cli\bin\grunt:44:20)
[exec] >> at Module._compile (module.js:413:34)
[exec] >> at Object.Module._extensions..js (module.js:422:10)
[exec] >> at Module.load (module.js:357:32)
[exec] >> at Function.Module._load (module.js:314:12)
[exec] >> at Module.require (module.js:367:17)
[exec] >> at require (internal/module.js:20:19)
[exec] >> at Object.<anonymous> (C:\Dev\workspace\wuh-hybris\hybris\bin\ext-content\npmancillary\resources\npm\node_modules\grunt\bin\grunt:3:1)
[exec] >> at Module._compile (module.js:413:34)
[exec] >> at Object.Module._extensions..js (module.js:422:10)
[exec] >> at Module.load (module.js:357:32)
[exec] >> at Function.Module._load (module.js:314:12)
[exec] >> at Function.Module.runMain (module.js:447:10)
[exec] >> at startup (node.js:148:18)
[exec] >> at node.js:405:3
Request clarification before answering.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.