1. error cannot found module "browser-sync
Answer :
Tried these steps. Its work for me.
Globally install gulp.
Next need to install the project’s local dependencies (that’s where it’s looking for browser-sync). To do that,
cd
into the project directory and run npm install
.
Then try
gulp serve
.
You can also try following lines
npm i browser-sync --save
thennpm start
2. error cannot found module "gulp-sass"
Just do
npm update
and then npm install gulp-sass --save-dev
in your root folder, and then when you run you shouldn't have any issues.Source
Stackoverflow
No comments:
Post a Comment