npmnode-sass

Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (93)


this what VSC terminal show me

Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (93)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.14.1

i tried some solutions in stack overflow:

npm rebuild node-sass

and

npm uninstall node-sass && npm install node-sass

but does't work with , i saw some people talk about node version if support sass or not, im using v16.14.0 it's LTS version should that support i guess, i hope someone can help and THANK YOU


Solution

  • It's almost like it's trying to install the 4.x branch which only supports up to Node 14.

    Try installing the 7.0.1 (current latest).

    npm i node-sass@7.0.1
    

    I'd recommend going ahead and wiping node_modules prior to installing just to be safe.

    If that doesn't work, can you please post the entire output in the comment?