Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node-sass install issue... on Windows only? #229

Closed
brzpegasus opened this issue Jul 12, 2013 · 8 comments
Closed

node-sass install issue... on Windows only? #229

brzpegasus opened this issue Jul 12, 2013 · 8 comments

Comments

@brzpegasus
Copy link
Contributor

I can no longer run npm install -g mimosa successfully, even after cleaning my npm cache. Things run fine up until the build portion:

...
npm http GET https://registry.npmjs.org/css/-/css-1.0.8.tgz
npm http 200 https://registry.npmjs.org/uglify-js/-/uglify-js-2.2.5.tgz

> node-sass@0.5.3 install C:\Users\edeblois\AppData\Roaming\npm\node_modules\mimosa\node_modules\node-sass
> node rebuild.js

npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/cssom

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: spawn ENOENT
    at errnoException (child_process.js:980:11)
    at Process.ChildProcess._handle.onexit (child_process.js:771:34)
npm http 200 https://registry.npmjs.org/lexical-scope/-/lexical-scope-0.0.12.tgz
unbuild node-sass@0.5.3
unbuild mimosa@0.13.14
npm ERR! error rolling back Error: ENOTEMPTY, rmdir 'C:\Users\edeblois\AppData\Roaming\npm\node_modules\mimosa\node_modules\mimosa-server\node_modules\lodash\dist'
npm ERR! error rolling back  mimosa@0.13.14 { [Error: ENOTEMPTY, rmdir 'C:\Users\edeblois\AppData\Roaming\npm\node_modules\mimosa\node_modules\mimosa-server\node_modules\lodash\dist']
npm ERR! error rolling back   errno: 53,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   path: 'C:\\Users\\edeblois\\AppData\\Roaming\\npm\\node_modules\\mimosa\\node_modules\\mimosa-server\\node_modules\\lodash\\dist' }
npm ERR! weird error 8
...

I'm not sure my npm-debug.log would be much more helpful:

27527 info node-sass@0.5.3 Failed to exec install script
27528 info C:\Users\edeblois\AppData\Roaming\npm\node_modules\mimosa\node_modules\node-sass unbuild
27529 info preuninstall node-sass@0.5.3
27530 info uninstall node-sass@0.5.3
27531 verbose false,C:\Users\edeblois\AppData\Roaming\npm\node_modules,C:\Users\edeblois\AppData\Roaming\npm\node_modules\mimosa\node_modules unbuild node-sass@0.5.3
27532 verbose C:\Users\edeblois\AppData\Roaming\npm\node_modules\mimosa\node_modules\.bin,[object Object] binRoot
27533 info postuninstall node-sass@0.5.3

I haven't dived into this to see what the install is trying to do, but the spawn ENOENT error looks strangely familiar: nodejs/node-v0.x-archive#5841.

@dbashford
Copy link
Owner

Someone else had the same issue: isaacs/npm#3656

@andrew any chance you've seen this before?

@brzpegasus
Copy link
Contributor Author

I ended up logging it here: sass/node-sass#123.

It's not related to mimosa, but it does stop mimosa from installing.

@dbashford
Copy link
Owner

I can confirm this with version 0.5.3 on windows. However, 0.5.2 seems to install ok. You seeing that?

@brzpegasus
Copy link
Contributor Author

Yeah, that works for me too.

dbashford added a commit that referenced this issue Jul 12, 2013
@dbashford
Copy link
Owner

So I've pushed 0.13.17, downgrading the node-sass version. Looks good on my end.

@andrew
Copy link

andrew commented Jul 12, 2013

I'll take a look at this now, there were some changes that I though may causes issues but didn't have a windows machine to test

@brzpegasus
Copy link
Contributor Author

Downgrading to node-sass to 0.5.2 seems to do it. I can install mimosa as well now.

@andrew
Copy link

andrew commented Jul 12, 2013

I've just published node-sass v0.5.4 which reverts the building changes, should hopefully fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants