You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 24, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 24, 2024. It is now read-only.
Node 6: Failed at the [email protected] postinstall script 'node scripts/build.js' #1484
Looks like there's an issue with the newly released Node 6.0.0
npm ERR! Linux 3.13.0-40-generic
npm ERR! argv "/home/travis/.nvm/versions/node/v6.0.0/bin/node" "/home/travis/.nvm/versions/node/v6.0.0/bin/npm" "install"
npm ERR! node v6.0.0
npm ERR! npm v3.8.6
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'node scripts/build.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node scripts/build.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs node-sass
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls node-sass
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/travis/build/tleunen/react-mdl/npm-debug.log
Reacted by Oli, Dwayne Charrington, ShutoMikami, limi58, item4(Kim Jinsu), Raoul Millais, Moved to @edd, Anibal, Giedrius Grabauskas, Valentin Hăloiu and 29 more
... \node_modules\node-sass\lib\index.js:12
throw new Error(errors.unsupportedEnvironment());
^
Error: Node Sass does not yet support your current environment: Windows 64-bit with false
For more information on which environments are supported please see:
TODO URL
at Object.<anonymous> (... \node_modules\node-sass\lib\index.js:12:11)
Reacted by Leonardo Barbosa, Lucien Greathouse, Masahiro Wakame, Oliver, Marcel Araujo, Michael Owens, Sander Verweij, Aleksej Komarov, Greg Walden, Kai and 17 more
Same issue as @ralekna. node v6.0 and OS X El Capitan x64:
Reacted by Daniel Brown, Lucien Greathouse, Dmitry, Jason Waldrip, Fabio Elisio, Elad Ossadon, Kenneth Luplau-Brøgger, Jindřich K. Smitka, Omer Can Yigit and Abdul Rahman Zantout
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub #1484 (comment)
Reacted by Null Void, Tommy, Sergey Rubanov, Oli, Guido Vilariño, Raoul Millais, David, Markus Lindenmann, Timmy, Gabriel JUCHAULT and 7 more
Reacted by Michael Owens, Markus Lindenmann and Dan Garcia
Reacted by Michał Gołębiowski-Owczarek, Guido Vilariño, Dwayne Charrington, Leonardo Barbosa, Ádám Lippai, Berto Yáñez, Gareth Talty, Markus Lindenmann, arrowrowe, Frederick Fogerty and 2 more
Reacted by Denys Séguret, Dmitry, Mario Pizzinini, Mahatthana (Kelvin) Nomsawadi, Aidos Säbit, Kit Sunde, Paris Nakita Kejser, Denis Toledo, yedeying, Kevin Coleman and 24 more
Reacted by Jolo, Blaine Hatab, moshe beeri, PatrickJS, Angel Lacret, Aniket A. Suryavanshi, Alexander Pavlyuk and Kyle Skrinak
Reacted by moshe beeri, leadermt, Angel Lacret, Alexander Pavlyuk and Kyle Skrinak
@xzyfer seems like we have a new catch-all bug here. I wonder if there is a way to get a compiler output in a way that npm puts it in the log properly. Also maybe we should provide a user friendly summary why scripts/install.js failed AGAIN, after build.js failure. Just some random thoughts how to deal with the reports like those above.
failing on ubuntu sh: 1: node: not found
npm ERR! Linux 4.4.0-31-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "node-sass"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] install: node scripts/install.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] install script 'node scripts/install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node scripts/install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs node-sass
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls node-sass
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /root/Desktop/PokemonGo-Map/npm-debug.log
Reacted by Amar, Evgeny Tronchuk, Carlos Feliciano Barba, Fotis Adamakis and Tej Rana
I am trying to build an electron app that will run gulpfiles from a GUI. However, since we use sass, I am now getting this error with both node versions 4.5.0 and 6.8.1. I was running 4.5.0 and our gulpfiles worked fine from the CL. I updated to 6.8.1 and started getting this same error message. I ran npm rebuild node-sass and that fixed the CL version, but when I start my electron app, I get this error in the console. Uncaught Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (50) For more information on which environments are supported please see: https://github.com/sass/node-sass/releases/tag/v3.10.1, so I tried npm rebuild node-sass, and that completed, but I still get the error in the console.
rror: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (51)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v3.10.1
Reacted by Nikita Lvov, davidwneary, Patrick Burke, David Cox Jr., Brian M Hunt, Dan Garcia , Joffrey JAFFEUX, Lee Benson, Filod, Giorgi Kikolashvili and 4 more
ERROR in Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (51)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v3.8.0
Node version v7.0.0 @ macOS Sierra.
Seems to happen after upgrading nodejs.
This fixed it: npm rebuild node-sass
Activity
ralekna commentedon Apr 26, 2016
Something similar with Node 6 just upgraded:
mgol commentedon Apr 26, 2016
I'm seeing lots of JS+C stack traces & warnings when running node-sass 3.6.0 on Node 6.0.0, things like:
and:
datatypevoid commentedon Apr 26, 2016
Same issue as @ralekna.
node v6.0andOS X El Capitan x64:passcod commentedon Apr 26, 2016
Same as @mgol on Arch Linux with Node 6.0.0 and npm 3.8.7
SoGooDFR commentedon Apr 26, 2016
Same issue
npm ERR! [email protected] postinstall:node scripts/build.jsnpm ERR! Exit status 1node-sass dying on Node v6 sass/node-sass#1484
xzyfer commentedon Apr 26, 2016
Node 6 is not yet supported. This will be case for many native extensions
like filesystem watchers.
Generally speaking dont expect everything to work when you're using the
bleeding edge.
On 27 Apr 2016 8:36 AM, "SoGooDFR" [email protected] wrote:
Same issue
npm ERR! [email protected] postinstall:node scripts/build.js
npm ERR! Exit status 1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#1484 (comment)
datatypevoid commentedon Apr 26, 2016
@xzyfer It was more of a heads up, at least in my case. Most people on the bleeding edge aren't surprised by this sort of thing.
leonardorb commentedon Apr 26, 2016
+1, here is my stack trace:
xzyfer commentedon Apr 26, 2016
Thanks you we appreciate the heads up. These threads tend to devolve
quickly. We are now aware of the issue.
Once we have a fix it'll take a about a day to do a new release we because
we need to prebuild a lot of binaries.
We'll hopefully have something by next week.
On 27 Apr 2016 9:00 AM, "David Newman" [email protected] wrote:
tleunen commentedon Apr 26, 2016
No worries @xzyfer It was purely informtive to let you guys know there's an issue in Node 6. I'm not expecting this to be resolved in the hour ;)
olalonde commentedon Apr 26, 2016
If it's any help, related issue with fsevents module: fsevents/fsevents#127 and potential fix: https://github.com/strongloop/fsevents/pull/128/files
Digging through the code, the error seems to originate from nan: https://github.com/sass/node-sass/blob/master/src/sass_types/map.cpp#L23
Related issue on nan repo: nodejs/nan#558
revmischa commentedon Apr 27, 2016
Same for me
rm -f Release/sass.a && ./gyp-mac-tool filter-libtool libtool -static -o Release/sass.a Release/obj.target/libsass/src/libsass/src/ast.o Release/obj.target/libsass/src/libsass/src/base64vlq.o Release/obj.target/libsass/src/libsass/src/bind.o Release/obj.target/libsass/src/libsass/src/cencode.o Release/obj.target/libsass/src/libsass/src/color_maps.o Release/obj.target/libsass/src/libsass/src/constants.o Release/obj.target/libsass/src/libsass/src/context.o Release/obj.target/libsass/src/libsass/src/cssize.o Release/obj.target/libsass/src/libsass/src/emitter.o Release/obj.target/libsass/src/libsass/src/environment.o Release/obj.target/libsass/src/libsass/src/error_handling.o Release/obj.target/libsass/src/libsass/src/eval.o Release/obj.target/libsass/src/libsass/src/expand.o Release/obj.target/libsass/src/libsass/src/extend.o Release/obj.target/libsass/src/libsass/src/file.o Release/obj.target/libsass/src/libsass/src/functions.o Release/obj.target/libsass/src/libsass/src/inspect.o Release/obj.target/libsass/src/libsass/src/json.o Release/obj.target/libsass/src/libsass/src/lexer.o Release/obj.target/libsass/src/libsass/src/listize.o Release/obj.target/libsass/src/libsass/src/memory_manager.o Release/obj.target/libsass/src/libsass/src/node.o Release/obj.target/libsass/src/libsass/src/output.o Release/obj.target/libsass/src/libsass/src/parser.o Release/obj.target/libsass/src/libsass/src/plugins.o Release/obj.target/libsass/src/libsass/src/position.o Release/obj.target/libsass/src/libsass/src/prelexer.o Release/obj.target/libsass/src/libsass/src/remove_placeholders.o Release/obj.target/libsass/src/libsass/src/sass.o Release/obj.target/libsass/src/libsass/src/sass2scss.o Release/obj.target/libsass/src/libsass/src/sass_context.o Release/obj.target/libsass/src/libsass/src/sass_functions.o Release/obj.target/libsass/src/libsass/src/sass_util.o Release/obj.target/libsass/src/libsass/src/sass_values.o Release/obj.target/libsass/src/libsass/src/source_map.o Release/obj.target/libsass/src/libsass/src/to_c.o Release/obj.target/libsass/src/libsass/src/to_value.o Release/obj.target/libsass/src/libsass/src/units.o Release/obj.target/libsass/src/libsass/src/utf8_string.o Release/obj.target/libsass/src/libsass/src/util.o Release/obj.target/libsass/src/libsass/src/values.o
libtool: unrecognized option
-static' libtool: Trylibtool --help' for more information.make: *** [Release/sass.a] Error 1
d4ncer commentedon Apr 27, 2016
Is there any way to suppress the warnings/stack traces? The
quietflag doesn't seem to be doing anything.hanspagel commentedon Apr 27, 2016
check out https://github.com/sass/node-sass/releases
npm rebuild node-sassfixed the issue here35 remaining items
Yimiprod commentedon Jun 16, 2016
With Node 6.2.1
xzyfer commentedon Jun 16, 2016
@Yimiprod fixed in v3.7.0
IbnSaeed commentedon Aug 5, 2016
Still having the same issue even with node-sass 3.7.0
aeharding commentedon Aug 5, 2016
I'm having issues with 3.8.0, I think. Ubuntu, Node 6.3.1
xzyfer commentedon Aug 6, 2016
Please read the documentation on how to file a bug. Saying "it doesn't
work" and screenshot don't give us any information to help you.
On 6 Aug 2016 5:11 AM, "Alexander Harding" [email protected] wrote:
saper commentedon Aug 8, 2016
@xzyfer seems like we have a new catch-all bug here. I wonder if there is a way to get a compiler output in a way that npm puts it in the log properly. Also maybe we should provide a user friendly summary why scripts/install.js failed AGAIN, after build.js failure. Just some random thoughts how to deal with the reports like those above.
xzyfer commentedon Aug 8, 2016
@saper I think we already do that. The above screen shot is strange because it's void of the usual output.
daproject85 commentedon Aug 9, 2016
failing on ubuntu sh: 1: node: not found
npm ERR! Linux 4.4.0-31-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "node-sass"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] install:
node scripts/install.jsnpm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] install script 'node scripts/install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node scripts/install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs node-sass
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls node-sass
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /root/Desktop/PokemonGo-Map/npm-debug.log
HunterJoe commentedon Oct 17, 2016
I am trying to build an electron app that will run gulpfiles from a GUI. However, since we use sass, I am now getting this error with both node versions 4.5.0 and 6.8.1. I was running 4.5.0 and our gulpfiles worked fine from the CL. I updated to 6.8.1 and started getting this same error message. I ran
npm rebuild node-sassand that fixed the CL version, but when I start my electron app, I get this error in the console.Uncaught Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (50) For more information on which environments are supported please see: https://github.com/sass/node-sass/releases/tag/v3.10.1, so I triednpm rebuild node-sass, and that completed, but I still get the error in the console.xzyfer commentedon Oct 18, 2016
This a known bug in electron - electron/electron#6318 & electron/electron#5851
sudotty commentedon Oct 26, 2016
the same issue
chl03ks commentedon Oct 26, 2016
same :(
sudotty commentedon Oct 27, 2016
@owndann I fixed use "npm rebuild node-sass "
codealchemist commentedon Oct 30, 2016
I was having this issue on OSX:
Node version
v7.0.0@ macOS Sierra.Seems to happen after upgrading nodejs.
This fixed it:
npm rebuild node-sassThanks!