Running create-react-app, I get the error in my create-react-app application:
To import Sass files, you first need to install node-sass. Run
npm install node-sass
oryarn add node-sass
inside your workspace.
I do have node-sass installed.
package.json:
"devDependencies": {
"node-sass": "^4.13.0"
}
project node_modules folder:
I've uninstalled, reinstalled, updated, cleaned cache, etc. How do I fix?
what worked for me was that I uninstalled global node-sass and installed it in my current project directory
npm uninstall -g node-sass
npm install node-sass
make sure to stop npm start until after installation, if possible restart your system when installation is done