gatsby-simplefolio icon indicating copy to clipboard operation
gatsby-simplefolio copied to clipboard

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

Open countchrisdo opened this issue 3 years ago • 1 comments

I'm a Linux Ubuntu user and I'm trying to npm install everything I need to use this template however I get this error Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (93) Does this mean I'm entirely out of luck? Or is there a way to fix this by installing a different version of Sass or Node or something else? Thank you freading

countchrisdo avatar Aug 25 '21 22:08 countchrisdo

This error is caused by your current version of node which you'll see if you run node -v is too new for the node sass dependency.

How I fixed it:

Go to https://github.com/sass/node-sass/releases/ to see which version of node the node-sass module requires which is 13.14.0 (maybe 14 as well). image

In the terminal run nvm install 13.14.0

This should automatically switch you to that version but if it doesn't run nvm use 13.14.0 after it's installed. Then run node -v to check it's the right version.

Do a quick npm install or yarn install and you should be good to run gatsby develop.

Lastly for windows users you'll have to install 'nvm for windows', instructions can be found here: https://stackoverflow.com/questions/25654234/why-isnt-node-version-manager-nvm-recognized-on-windows , and make note that you might have to run your terminal (I use git bash) as the administrator for it to allow nvm to switch node versions.

Enjoy. Lastly if your issues do persist maybe think about pulling the new version of this repo on the develop branch and transfer your content over manually rather than waist hours trying to get this environment up to date.

dannyr22 avatar Mar 04 '22 16:03 dannyr22