Hi
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?
regards
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.
Regards.
1 Like
Hi
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 https://nodejs.org/
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?
regards
1 Like
With all those errors maybe your environment is corrupt.
- Iād reinstall node again and set the LTS version.
- Iād install nvm to have the capability to switch nodeās version when commuting projects.
good luck.
1 Like
Hi
I have installed again node 10.15.3 and now works fine thanks
Regards
1 Like