I'm building a react app using sass
I wrote to terminal:
npx create-react-app .
then I wrote
npm install -g sass
Require stack:
- D:\intern\neo\node_modules\sass-loader\dist\utils.js
- D:\intern\neo\node_modules\sass-loader\dist\index.js
- D:\intern\neo\node_modules\sass-loader\dist\cjs.js
- D:\intern\neo\node_modules\loader-runner\lib\loadLoader.js
- D:\intern\neo\node_modules\loader-runner\lib\LoaderRunner.js
- D:\intern\neo\node_modules\webpack\lib\NormalModule.js
- D:\intern\neo\node_modules\webpack-manifest-plugin\dist\index.js
- D:\intern\neo\node_modules\react-scripts\config\webpack.config.js
- D:\intern\neo\node_modules\react-scripts\scripts\start.js
It seems like you have a problem with the project (D:\intern\neo) configuration.
If you want to install
sassglobally, go to the terminal and then run the commandnpm i -g sasswith administrator privilege.If the package is installed properly, go to your
neoproject removenode_modulesdir andpackage-lock.jsonfile and then runnpm iwithin the directory.