J
J
JohnDaniels2020-01-19 18:36:22
Node.js
JohnDaniels, 2020-01-19 18:36:22

How to beat Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (64)?

Error while building the project:

Module build failed: Error: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (64)

node -v
v10.10.0
npm -v
6.4.1
npm ls node-sass
├─┬ [email protected]
│ └── [email protected]
└── [email protected]
already did :
cleared cache, deleted node_modules, did npm rebuild node-sass, changed node version
What else to do?

Answer the question

In order to leave comments, you need to log in

6 answer(s)
W
willgood, 2020-12-28
@JohnDaniels

Rebuilding the module helped me:
npm rebuild node-sass

S
Shohruh Shaimardonov, 2020-01-19
@joeberetta

Look here . This problem has already been addressed in issues

S
Sergey21192, 2021-08-27
@Sergey21192

If you have sass-loader installed, try updating it with npm update sass-loader, it worked for me

N
Nex_Otaku, 2021-10-30
@Nex_Otaku

Reinstalling this module helped me.

npm remove node-sass
npm install node-sass

I
Ilya Vainer, 2021-11-23
@implicit

none of the above solves the issue, installing the nodejs version in accordance with https://www.npmjs.com/package/node-sass helped , here it is indicated which version of nodejs should be depending on which node-sass version you have.

S
Salinov, 2022-03-11
@Salinov

In my case, neither rebuilding node-sass helped, nor reinstalling everything with the removal of package-local.json and node_modules.
I am using Vue cli to work on a pre-built Ubuntu project .
Here is a list of actions to take:
- remove node_modules ;
- remove package-lock.json ;
- in package.json remove node-sass ;
- uninstall everything via npm i ;
- after npm i write npm i sass .
In fact, we are changing node-sass to sass which can build your sass/scss source code and everything will start working. Good luck and I hope it helps someone.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question