-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Unsupported] Installing node-sass 4.11.0 on Node 12 #2701
Comments
I ran into this problem after what I Think was caused by an X Code 10.1 -> 9.4 DOWNGRADE (I think that's what caused it). First I had some nasty problems with node-sass, then I blew away my then I got through that but got to
I was able to fix this by switching my system over from (what I think was) brew-installed then, once I made sure I had the right node version, I was able to and also then I ran into a nasty rabbit hole with the dev environment only, which was simply fixed by restarting my system after which my app started booting in dev again. |
Node 12 is only supported by node-sass 4.12+ 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 |
NODE: v11.8.0 installed with yarn (not npm)
node-sass: 4.11.0
working in a Express + CRA app, with a
server/
andclient/
directory (served with concurrently), my problem is only isolated to development on Mac oS 10.13 High Sierra.It happened after a DOWNGRADE of X Code from 10.0-> 9.4.1
first, I was unable
yarn start
, consistently getting thisI found closed issue #1764 which seems to have consensus that the fix is
npm rebuild node-sass
is the fix. However, this 1) did not succeed at all for me (it crashed), and 2) I am using yarn not npmNPM version (
npm -v
):6.5.0
Node version (
node -v
):v11.8.0
Node Process (
node -p process.versions
):Node Platform (
node -p process.platform
):darwin
Node architecture (
node -p process.arch
):x64
The text was updated successfully, but these errors were encountered: