I would like to use google web starter kit. I installed node.js v0.12.0, node-sass
& gulp
.
And then ran:
$ sudo npm ins
If your node version is 4 and you are using gulp-sass, then try
npm uninstall --save-dev gulp-sass
npm install --save-dev gulp-sass@2
npm rebuild node-sass
was giving me errors (Ubuntu) and npm install gulp-sass
didn't make the error go away.
Saw a solution on GitHub which worked for me:
npm uninstall --save-dev gulp-sass
npm install --save-dev gulp-sass
If you use Gulp then try:
npm install gulp-sass
I had the same problem and the gulp-sass
package was the problem.
Downgrading Node to 0.10.36 should do it per this thread on the node-sass github page: https://github.com/sass/node-sass/issues/490#issuecomment-70388754
If you have NVM you can just:
nvm install 0.10
If you don't, you can find NVM and instructions here: https://www.npmjs.com/package/nvm
If you came here because you upgraded nodejs systemwide & suddenly your emberjs ^1.13 app is failing with this message, make sure you're not using an outdated version of ember-cli-sass
. You'll need to rm -rf node_modules bower_components dist tmp
within the Ember app, then update your package.json
with the appropriate ember-cli-sass
version, and finally npm install --save-dev
. This fixed it for me, without having to rebuild or change any other dependencies.
i had the same problem today at work.
npm rebuild node-sass
done the job for me