Hi,
I've installed snowdog/frontools and snowdog/sass-blank-theme via composer and i've run the 'Gulp setup' command succesfully. My themes.json looks like this:
{ "blank": { "src": "vendor/snowdog/theme-blank-sass", "dest": "pub/static/frontend/Snowdog/blank", "locale": ["en_US"], "ignore": [".test"] } }
When running the command 'gulp styles' the following error appears:
local@local:/data/ssd/vhosts/local/magento2/vendor/snowdog/frontools$ gulp styles [20:43:05] Using gulpfile /data/ssd/vhosts/local/magento2/vendor/snowdog/frontools/gulpfile.js [20:43:05] Starting 'styles'... [20:43:05] Starting 'inheritance'... [20:43:05] 'inheritance' errored after 1.78 ms [20:43:05] SyntaxError: Unexpected token = at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:373:25) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at /data/ssd/vhosts/local/magento2/vendor/snowdog/frontools/task/inheritance.js:9:5 at Array.forEach (native) at Object.module.exports (/data/ssd/vhosts/local/magento2/vendor/snowdog/frontools/task/inheritance.js:8:10) [20:43:05] SyntaxError in plugin 'run-sequence(inheritance)' Message: Unexpected token = Stack: SyntaxError: Unexpected token = at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:373:25) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at /data/ssd/vhosts/local/magento2/vendor/snowdog/frontools/task/inheritance.js:9:5 at Array.forEach (native) at Object.module.exports (/data/ssd/vhosts/local/magento2/vendor/snowdog/frontools/task/inheritance.js:8:10) [20:43:06] Finished 'styles' after 805 ms
I've checked the forums and github, but no one seems to have the same error. Can anyone help me solve this error? Normal (without Frontools) Gulp taks run just fine.
Thanks!
Solved! Go to Solution.
What's your node.js version?
You have to use current LTS branch, in number terms you have to fit in this condition >=6.9.1 <7.0.0