Node-sass: [Unsupported] Installing node-sass 3.10.1 on Node 7

Created on 25 Oct 2016  路  10Comments  路  Source: sass/node-sass

macOS 10.12.1

When reporting an bug, you must provide this information:

  • NPM version (npm -v): 3.10.8
  • Node version (node -v): 7.0.0
  • Node Process (node -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 Platform (node -p process.platform): tform darwin
  • Node architecture (node -p process.arch): x64
  • node-sass version (node -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 node-sass versions (npm ls node-sass): 3.10.1

When encountering a syntax, or compilation issue:

_If you delete this text without following it, your issue will be closed._

Most helpful comment

Update: running npm rebuild node-sass also helps.

All 10 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

harukaeru picture harukaeru  路  3Comments

mkbctrl picture mkbctrl  路  4Comments

primiano picture primiano  路  3Comments

amarbham picture amarbham  路  3Comments

ruchern-chong picture ruchern-chong  路  3Comments