macOS 10.12.1
When reporting an bug, you must provide this information:
npm -v): 3.10.8node -v): 7.0.0node -p process.versions): { http_parser: '2.7.0',
node: '7.0.0',
v8: '5.4.500.36',
uv: '1.9.1',
zlib: '1.2.8',
ares: '1.10.1-DEV',
icu: '57.1',
modules: '51',
openssl: '1.0.2j' }
node -p process.platform): tform darwinnode -p process.arch): x64node -p "require('node-sass').info"): node_modules/node-sass/lib/index.js:13
throw new Error(errors.unsupportedEnvironment());
^
Error: 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.10.1
at Object.<anonymous> (/Users/msantos/Projects/internal-user-dashboard/node_modules/node-sass/lib/index.js:13:11)
at Module._compile (module.js:573:32)
at Object.Module._extensions..js (module.js:582:10)
at Module.load (module.js:490:32)
at tryModuleLoad (module.js:449:12)
at Function.Module._load (module.js:441:3)
at Module.require (module.js:500:17)
at require (internal/module.js:20:19)
at [eval]:1:1
at ContextifyScript.Script.runInThisContext (vm.js:25:33)
npm ls node-sass): 3.10.1When encountering a syntax, or compilation issue:
LibSass. You_If you delete this text without following it, your issue will be closed._
Running into the same issue when using webpack and npm:
NPM version: 3.10.8
Mac OS: 10.12
Node: v7.0.0
{ http_parser: '2.7.0',
node: '7.0.0',
v8: '5.4.500.36',
uv: '1.9.1',
zlib: '1.2.8',
ares: '1.10.1-DEV',
icu: '57.1',
modules: '51',
openssl: '1.0.2j' }
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.10.1
@ ./src/styles/main.scss 4:14-189
Removing node_modules and running npm install fixed those errors for me.
Update: running npm rebuild node-sass also helps.
Yep, rebuilding node-sass fixed this for me. I'll close this issue. Thanks!
You can subscribe to #1766
I can confirm that running npm rebuild node-sass also worked for me.
npm rebuild node-sass worked like a charm. Thanks!
npm rebuild node-sass Works for me too! Thanks buddy @alexburgos
Can confirm npm rebuild node-sass worked for me on MacOS Sierra (10.12.1). Everything else like re-installing node_modules did not work.
It might be worth linking to this issue or describing the work-around/fix from the release page.
Yup -- npm rebuild node-sass - worked for me.
Most helpful comment
Update: running
npm rebuild node-sassalso helps.