FuelFrontend/generator-smacss

node-sass error

logeshpaul opened this issue · 1 comments

Hi. Thanks for your time and work on the smacss generator.

I'm new to web development but would realllly like to use this generator but am not sure if I should post this problem as an issue on github or not.

josh@josh-700-310xt:~/Desktop/testy/testThisBitch$ gulp
[21:52:10] Warning: gulp version mismatch:
[21:52:10] Global gulp is 3.9.0
[21:52:10] Local gulp is 3.8.11
/home/josh/Desktop/testy/testThisBitch/node_modules/node-sass/lib/index.js:22
throw new Error('libsass bindings not found. Try reinstalling node-sass?');
^

Error: libsass bindings not found. Try reinstalling node-sass?
at getBinding (/home/josh/Desktop/testy/testThisBitch/node_modules/node-sass/lib/index.js:22:11)
at Object. (/home/josh/Desktop/testy/testThisBitch/node_modules/node-sass/lib/index.js:188:23)
at Module._compile (module.js:425:26)
at Object.Module._extensions..js (module.js:432:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object. (/home/josh/Desktop/testy/testThisBitch/node_modules/gulp-sass/index.js:3:17)
at Module._compile (module.js:425:26)

... Is this normal behavior?

Do I have to install and use gulp 3.8.11 globally or is there something else?

Should I create a new issue for this?

Figured it out. The gulp and sass dependency versions are wrong in the package.json files.

Just updated the package.json to the latest versions.

"gulp": "~3.9.0",
"gulp-sass": "~2.1.1",