How to fix “Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (57)”

PHOTO EMBED

Sun Oct 11 2020 04:27:53 GMT+0000 (Coordinated Universal Time)

Saved by @eneki

npm rebuild node-sass

// Sometimes this will throw an error along these lines
gyp ERR! stack Error: `make` failed with exit code: 2

// The most likely thing is that the version of node-sass installed on your project is incompatible to your version of Node

// To fix this, visit https://github.com/sass/node-sass#supported-nodejs-versions-vary-by-release-please-consult-the-releases-page-below-is-a-quick-guide-for-minimum-support to confirm whether this is the case. If so, install n (the interactive version manager) by running:

npm install -g n
// make cache folder (if missing) and take ownership
sudo mkdir -p /usr/local/n
sudo chown -R $(whoami) /usr/local/n

// Install the appropriate version of node
n 10.16.0 
// or 
n lts // for the most recent stable release with long term support

// If it throws a sudo error along these lines,

Error: sudo required (or change ownership, or define N_PREFIX)

// Take ownership of node install destination folders
sudo chown -R $(whoami) /usr/local/bin /usr/local/lib /usr/local/include /usr/local/share
content_copyCOPY

https://medium.com/@proustibat/how-to-fix-error-node-sass-does-not-yet-support-your-current-environment-os-x-64-bit-with-c1b3298e4af0