I scaffold an app using jhipster which is microservice gateway using cassandra db and using maven to build which was building fine after scaffold.i ran gulp command to for the l
I sometimes also get this error when starting my gulp server. My workaround is to just run:
npm rebuild node-sass
And then gulp starts nicely afterward.
Some files may not be available in the local version of NodeJS, and sometimes NodeJS does not send a message about it. In this case --force
is helpful.
npm install node-sass --force
or
npm rebuild node-sass --force
The vendor directory is created during npm install. Try deleting your
node_modules and running npm install
.
For my case it helps only after doing this command:
node node_modules/node-sass/scripts/install.js
And then there will be /node_modules/node-sass/vendor
folder
Update your gulp-sass in package.json with new version
"gulp-sass": "3.1.0" // 3.1.0 or later
This is the link which i follow https://github.com/dlmanning/gulp-sass/issues/508
I just fixed this error. It was because I was trying to run the project from the wrong folder.