Error with scss


After npm Install I get this error

ERROR in ./src/styles.scss
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Missing binding /Users/kintela/Repos/PlanificadorFrontEnd/node_modules/node-sass/vendor/darwin-x64-67/binding.node
Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 11.x

Found bindings for the following environments:

  • OS X 64-bit with Node.js 10.x

This usually happens because your environment has changed since running npm install.
Run npm rebuild node-sass to download the binding for your current environment.

I have execute npm rebuild node-sass but the error does not disappear
Any idea please?

1 Like

Hi, which version of node-sass are you using?
Versions prior to 4.10 are known for not supporting node 11.X.

Maybe you can update it. version 4.11 is known to support node 11.X.


1 Like

The error message says that I have node.js 11.x and her I’m lost. In the package.json I have 10.15.3 but when I execute node --version I get 11.8.

Now when I try sudo npm install --save node@10.15.3 I get more errors

mini-de-roberto:PlanificadorFrontEnd kintela$ sudo npm install --save node@10.15.3

node@10.15.3 preinstall /Users/kintela/Repos/PlanificadorFrontEnd/node_modules/node
node installArchSpecificPackage

npm WARN npm npm does not support Node.js v11.8.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can’t make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9, 10.
npm WARN npm You can find the latest version at
npm WARN checkPermissions Missing write access to /Users/kintela/Repos/PlanificadorFrontEnd/node_modules/node
npm ERR! path /Users/kintela/Repos/PlanificadorFrontEnd/node_modules/node
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access ‘/Users/kintela/Repos/PlanificadorFrontEnd/node_modules/node’
npm ERR! { [Error: EACCES: permission denied, access ‘/Users/kintela/Repos/PlanificadorFrontEnd/node_modules/node’]
npm ERR! stack:
npm ERR! “Error: EACCES: permission denied, access ‘/Users/kintela/Repos/PlanificadorFrontEnd/node_modules/node’”,
npm ERR! errno: -13,
npm ERR! code: ‘EACCES’,
npm ERR! syscall: ‘access’,
npm ERR! path:

any idea please?


1 Like

With all those errors maybe your environment is corrupt.

  1. I’d reinstall node again and set the LTS version.
  2. I’d install nvm to have the capability to switch node’s version when commuting projects.

good luck.

1 Like

I have installed again node 10.15.3 and now works fine thanks

1 Like