yeoman / generator-backbone

Scaffold out a Backbone.js project
http://yeoman.io
638 stars 157 forks source link

^^^ SyntaxError: Unexpected token ILLEGAL at exports.runInThisContext (vm.js:73:16) #351

Closed joe-liquid closed 8 years ago

joe-liquid commented 9 years ago

I am trying to run yo backbone to scaffold an app. After the initial "What more would you like?" prompt I see the following error:

/usr/local/lib/node_modules/generator-mocha/node_modules/yeoman-generator/node_modules/lodash/index.js:10619 /** ^^^ SyntaxError: Unexpected token ILLEGAL 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. (/usr/local/lib/node_modules/generator-mocha/node_modules/yeoman-generator/node_modules/yeoman-environment/lib/environment.js:6:9) at Module._compile (module.js:460:26) at Object.Module._extensions..js (module.js:478:10)

I am on node v0.12.6 and 2.11.2 for npm. Do you know what the issue is here. I am trying this with a regular node install. Not managed by homebrew.

tconroy commented 9 years ago

what do you get with yo --version?

arthurvr commented 9 years ago

What version of generator-backbone are you on?

$ npm info generator-backbone | grep 'version:'
joe-liquid commented 9 years ago

version: '0.3.5',

arthurvr commented 9 years ago

And the yo version?

joe-liquid commented 9 years ago

I can get past the above stage now but it looks like there are issues with the sass:dist task. I will upload this as a separate issue so you can close this one.

stephanebouget commented 9 years ago

same issue. revert to 0.3.0 works for me :

$ npm install -g generator-backbone@0.3.0 $ yo backbone

arthurvr commented 9 years ago

@stephanebachelier Mind trying using the generator-backbone master branch and using the latest yo? Thanks.

ruyadorno commented 8 years ago

I expect this to have been solved with the migration to the new yeoman/generator API + no feedback so I'm closing it again.