I was able to use SCSS in my React project but for some reason I’ve now get errors when trying to start the project.
The error I get when I run
npm start is
To import Sass files, you first need to install node-sass. Run npm install node-sass
oryarn add node-sass
inside your workspace.
So I tried to do
npm install node-sass and I get this really long error
Sorry for the image…Github gave me an error trying to copy and paste the code…
I have reinstalled Xcode command line tools. Installed node-gyp globally. Checked my Python is working (v 2.7.16). I even reinstalled node (v 15.0.1) and check npm (v 6.14.8). I have deleted my package-lock.json file and node-modules and reinstalled everything. I don’t know what else to do. Any help would be appreciated.