lundi 7 mars 2016

Cannot find module- node-gyp

I am trying to install this ember project but I keep getting this error:

vedant@vedant-Galago-UltraPro:~/rails/ember-admin-dashboards$ npm rebuild node-sass

> node-sass@2.1.1 install /home/vedant/rails/ember-admin-dashboards/node_modules/node-sass
> node scripts/install.js


> node-sass@2.1.1 postinstall /home/vedant/rails/ember-admin-dashboards/node_modules/node-sass
> node scripts/build.js

module.js:341
    throw err;
    ^

Error: Cannot find module '/home/vedant/rails/ember-admin-dashboards/node_modules/node-sass/node_modules/pangyp/bin/node-gyp'
    at Function.Module._resolveFilename (module.js:339:15)
    at Function.Module._load (module.js:290:25)
    at Function.Module.runMain (module.js:447:10)
    at startup (node.js:140:18)
    at node.js:1001:3
Build failed
node-sass@2.1.1 /home/vedant/rails/ember-admin-dashboards/node_modules/node-sass

I tried installing, reinstalling, rebuilding node-sass but I always get the same error.




Aucun commentaire:

Enregistrer un commentaire