Error: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (72)
I faced this issue when I used the latest version of node.js i.e, 12.6.0 and npm version 6.9.0.
which version of node-sass is compatible with above mentioned node and npm versions.
node-sass version: 4.5.3
This problem happens because the version of node-sass that you have installed is no longer compatible with the version of node you are trying to run it with.
node-sass' usage is deprecated and will be removed in a future major version. To opt-out of the deprecated behaviour and start using 'sass' uninstall 'node-sass'.
Node-sass is a library providing binding for Node. js to libsass, the C interpretation of Sass's famous stylesheet preprocessor. It allows compiling . scss files to css at incredible speed natively and automatically via a connect middleware.
Use the following command:
npm rebuild node-sass
You likely copied the node_modules from a Windows or OSX system. Rebuilding it builds the right version for your system.
We list this at the top of the README https://github.com/sass/node-sass#supported-nodejs-versions-vary-by-release-please-consult-the-releases-page-below-is-a-quick-guide-for-minimium-support For Node 12, you need node-sass 4.12
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With