Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Can't install node-sass during deployment #1138

Closed
@cibulka

Description

@cibulka

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!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions