node-sass: Can't install node-sass during deployment

Hello everyone!

I am using gulp-sass 2.0.4 (that uses node-sass 3.3.2). Installing it locally to my development works without any problem. The problem is my remote production environment, installation to server through ssh (with Capistrano deployment) fails.

Error: ENOENT, no such file or directory '/www/cibulka.me/wwwroot/www/releases/20150910223016/node_modules/cibulka-gulp-tasks/node_modules/gulp-sass/node_modules/node-sass/node'
    at Error (native)
    at Object.fs.lstatSync (fs.js:792:18)
    at Object.realpathSync (fs.js:1383:21)
    at getRuntimeInfo (/www/cibulka.me/wwwroot/www/releases/20150910223016/node_modules/cibulka-gulp-tasks/node_modules/gulp-sass/node_modules/node-sass/lib/extensions.js:35:21)
    at Object.<anonymous> (/www/cibulka.me/wwwroot/www/releases/20150910223016/node_modules/cibulka-gulp-tasks/node_modules/gulp-sass/node_modules/node-sass/lib/extensions.js:120:16)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)

My hosting provider uses node 0.12.6. All other NPM modules seem to be installing fine.

Can you tell me what am I doing wrong? Thank you!

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 24 (12 by maintainers)

Commits related to this issue

Most upvoted comments

@rushcat Please follow our TROUBLESHOOTING.md guide, check other already open issues and open a new one, if still having issues.