Closed gamaralf closed 9 years ago
+1
Having the opposite problem with latest release (0.3.5). Only if I change grunt-sass-0.17.0 to grunt-sass-0.18.0 the npm install gets completed.
Using OSX 10.10.3 and node 0.12.2
@derTobsch @gamaralf What node version are you on?
v0.12.0
oh, i have no idea. I created everything by hand after that. So i do not use yeoman anymore :/
+1 with ^0.17 in config
Here's the top part of error log:
node scripts/build.js
`darwin-x64` exists; testing
module.js:355
Module._extensions[extension](this, filename);
^
Error: Module did not self-register.
at Error (native)
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/changbaili/Code/stadiums/webappbackbone/node_modules/grunt-sass/node_modules/node-sass/lib/index.js:181:15)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
Failed at the node-sass@1.2.3 postinstall script 'node scripts/build.js'
Mac OS 10.10.3
node v0.12.2
npm v2.7.4
grunt-sass 1.0.0 is working fiiiiiiine
@BernhardBezdek @gamaralf @derTobsch Can you try if this is fixed in master? I think this was fixed in https://github.com/yeoman/generator-backbone/commit/267ad5d475e74ba0568a6b9a292f7aef72d205b2. If y'all can confirm that I'm going to make a new release.
You can try the generator locally by cloning the repo and running npm link
. Then yo backbone
will start the generator.
@arthurvr it's working when using the master branch
Hi Folks - This is an issue with running node-sass 1.x.x on node 0.12.x. See https://github.com/sass/node-sass/issues/653 ... Whatever is requiring in node-sass needs to bump the version of node-sass to 2.x.x. I see grunt-sass just got bumped on this project (https://github.com/yeoman/generator-backbone/commit/267ad5d475e74ba0568a6b9a292f7aef72d205b2) ... Trying HEAD of master now...
Yup, that fixed it. This issue is the same as #343. And this https://github.com/yeoman/generator-backbone/commit/267ad5d475e74ba0568a6b9a292f7aef72d205b2 fixes it. For folks who can't wait generator-backbone to provide an official release, delete the generator-backbone folder in your global node_modules directory, git clone this repo so you are on the HEAD of master, npm install, and then you should be good to go.
Let's close this as fixed on master. Thanks everybody.
When I run "yo backbone testapp", it fails at the "node install" step.
I edited package.json, changed "grunt-sass-0.18.0" to "grunt-sass-0.17.0" and now "node install" works. But the generated "system" is broken.