Skip to content
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.

Problem when generator runs "node install", "grunt-sass-0.18.0" does not install #329

Closed
gamaralf opened this issue Apr 8, 2015 · 13 comments

Comments

@gamaralf
Copy link

gamaralf commented Apr 8, 2015

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.

@derTobsch
Copy link

+1

@BernhardBehrendt
Copy link
Contributor

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

@arthurvr
Copy link
Member

@derTobsch @gamaralf What node version are you on?

@derTobsch
Copy link

v0.12.0

@kevva
Copy link
Member

kevva commented Jun 17, 2015

What does it say? It really sounds like a node-sass issue.

@derTobsch
Copy link

oh, i have no idea. I created everything by hand after that. So i do not use yeoman anymore :/

@lcb931023
Copy link

+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

@lcb931023
Copy link

grunt-sass 1.0.0 is working fiiiiiiine

@arthurvr
Copy link
Member

@BernhardBezdek @gamaralf @derTobsch Can you try if this is fixed in master? I think this was fixed in 267ad5d. 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.

@BernhardBehrendt
Copy link
Contributor

@arthurvr it's working when using the master branch

@rjcorwin
Copy link

rjcorwin commented Aug 3, 2015

Hi Folks - This is an issue with running node-sass 1.x.x on node 0.12.x. See sass/node-sass#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 (267ad5d) ... Trying HEAD of master now...

@rjcorwin
Copy link

rjcorwin commented Aug 3, 2015

Yup, that fixed it. This issue is the same as #343. And this 267ad5d 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.

@arthurvr
Copy link
Member

arthurvr commented Aug 3, 2015

Let's close this as fixed on master. Thanks everybody.

@arthurvr arthurvr closed this as completed Aug 3, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants