# Error with scss

**URL:** <https://discourse.aurelia.io/t/error-with-scss/2560>\
**Category:** Uncategorized\
**Created:** [May 16, 2019, 3:04pm UTC](https://discourse.aurelia.io/t/error-with-scss/2560 "2019-05-16T15:04:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kintela](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/kintela/32/749_2.png) [@kintela](https://discourse.aurelia.io/u/kintela)\
**Post date:** [May 16, 2019, 3:04pm UTC](https://discourse.aurelia.io/t/error-with-scss/2560/1 "2019-05-16T15:04:44Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ormasoftchile](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/ormasoftchile/32/340_2.png) [@ormasoftchile](https://discourse.aurelia.io/u/ormasoftchile)\
**Post date:** [May 16, 2019, 3:16pm UTC](https://discourse.aurelia.io/t/error-with-scss/2560/2 "2019-05-16T15:16:07Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![kintela](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/kintela/32/749_2.png) [@kintela](https://discourse.aurelia.io/u/kintela)\
**Post date:** [May 16, 2019, 3:18pm UTC](https://discourse.aurelia.io/t/error-with-scss/2560/3 "2019-05-16T15:18:56Z")

</div>

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/](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

---

<div class="post-metadata">

**Author:** ![ormasoftchile](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/ormasoftchile/32/340_2.png) [@ormasoftchile](https://discourse.aurelia.io/u/ormasoftchile)\
**Post date:** [May 16, 2019, 3:22pm UTC](https://discourse.aurelia.io/t/error-with-scss/2560/4 "2019-05-16T15:22:49Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![kintela](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/kintela/32/749_2.png) [@kintela](https://discourse.aurelia.io/u/kintela)\
**Post date:** [May 16, 2019, 3:31pm UTC](https://discourse.aurelia.io/t/error-with-scss/2560/5 "2019-05-16T15:31:56Z")

</div>

Hi  
I have installed again node 10.15.3 and now works fine thanks  
Regards
