Gulp - SyntaxError: Unexpected token

so what i did. in sage theme installed :

  1. npm install -g bower
  2. npm install -g gulp
  3. npm install
  4. bower install
  5. gulp

and i get this error, I havent change anything in theme code yet.

SyntaxError: Unexpected token )
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 (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/Users/alan/Desktop/Sites/cubitus2/wp-content/themes/cubitus/node_modules/asset-builder/lib/Manifest.js:7:23)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)

I’m closing this thread because it has zero details about your setup or what you tried to do to get things working.

See Npm Debugging Guidelines (Failed npm install, bower install, or gulp build? Read this)

This topic is now unlisted. It will no longer be displayed in any topic lists. The only way to access this topic is via direct link.