node-sass: Error: Node Sass does not yet support your current environment: Linux 64-bit with false
Using node-sass doesn’t seem to work with v6.3.1 node on 64-bit Linux, even though there was a merge to support node v6
X@X:~/dev/node/test4$ node --version
v6.3.1
X@X:~/dev/node/test4$ node-sass src/scss/style.scss dist/css/style.css
/usr/lib/node_modules/node-sass/lib/index.js:12
throw new Error(errors.unsupportedEnvironment());
^
Error: Node Sass does not yet support your current environment: Linux 64-bit with false
For more information on which environments are supported please see:
TODO URL
at Object.<anonymous> (/usr/lib/node_modules/node-sass/lib/index.js:12:11)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
at Module.require (module.js:468:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/usr/lib/node_modules/node-sass/bin/node-sass:11:12)
at Module._compile (module.js:541:32)
Any other info which I should post?
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 7
- Comments: 21 (5 by maintainers)
This error message is not possible with v3.8.0
The
TODO URL
was removed in v3.7.0.You must have multiple versions of node-sass installed. You can confirm this with
If you only see one node-sass and it’s 3.8.0 then run the following to rebuild the binary
Use the following command npm rebuild node-sass
Problem persisted after that, but
npm uninstall node-sass -g && node cache clean && node install node-sass
fixed that. Thanks!Do you mean
npm uninstall node-sass -g && npm cache clean --force && npm install node-sass
try npm rebuild node-sass
If you’re using gulp, try deleting
node_modules
and changinggulp-sass
from 2.x to ^3.0.0Thank you was looking for a solution for over a freckin day!!
node_modules/node-sass/package.json:
I installed it yesterday, and my node is 6 for sure as per:
I tried to re-install
node-sass
just in-case I were actually wrong:We have comprehensive documentation on how to file an issue with useful information.
It looks like you’re using an old version of node-sass that came out before Node 6. Update to node-sass@v3.8.0