Answers for "error: cannot find module 'sass' + gulp"

8

Cannot find module 'node-sass'

sudo npm install --save-dev  --unsafe-perm node-sass
Posted by: Guest on July-18-2020
1

Module Error (from ./node_modules/sass-loader/dist/cjs.js): Cannot find module 'sass'

npm i sass --save-dev
Posted by: Guest on January-26-2022
0

Error: Cannot find module 'node-sass'

If you want to use scss/sass in your react app try to do this :

First remove node-sass:

yarn remove node-sass

if you use npm:
npm uninstall node-sass

Then install sass instead of node-sass:
yarn add -D sass

or

npm i -D sass

Finally your scss/sass files will be correctly compiled !
Posted by: Guest on December-10-2021
1

Error: Cannot find module 'node-sass'

sudo npm install --save-dev  --unsafe-perm node-sass
Posted by: Guest on November-22-2020
-1

gulp serve Cannot find module 'gulp-sass'

change to version "gulp-sass": "3.0.0"
Posted by: Guest on March-24-2020

Code answers related to "error: cannot find module 'sass' + gulp"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language