Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node/Gulp Error #50

Open
onlyskyguy opened this issue Sep 17, 2015 · 4 comments
Open

Node/Gulp Error #50

onlyskyguy opened this issue Sep 17, 2015 · 4 comments

Comments

@onlyskyguy
Copy link

The solution to this might be somewhere in the gulp-sass arena, but I'm only getting the following error when I run gulp with sublime-gulp. If I run normally from a terminal it works fine.

Error: `libsass` bindings not found in [AppPath]/node_modules/gulp-sass/node_modules/node-sass/vendor/linux-x64-11/binding.node. Try reinstalling `node-sass`?
    at Object.sass.getBinaryPath ([AppPath]/node_modules/gulp-sass/node_modules/node-sass/lib/extensions.js:148:11)
    at Object.<anonymous> ([AppPath]/node_modules/gulp-sass/node_modules/node-sass/lib/index.js:16:36)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> ([AppPath]/node_modules/gulp-sass/index.js:163:21)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> ([AppPath]/gulpfile.js:39:11)

I'm wondering if I've got something setup incorrectly in the sublime-gulp settings for this to happen.

Running Ubuntu Linux

gulp --version
[00:23:30] CLI version 3.8.11
[00:23:30] Local version 3.9.0

node --version    
v0.12.2

gulp.sublime-settings

"exec_args": {
    "path": "/bin:/usr/bin:/usr/local/bin:node_modules/.bin"
}

Thanks for any insight into this.

@nicosantangelo
Copy link
Owner

Hmmm, your settings seem right.

I think this might be a problem with the fact that gulp-sass is a wrapper around node-sass, which is a node binding for libsass, which is a port of Sass. So it's very likely that one of those projects it's getting confused with the PATH.

Does the command work in the terminal?

@onlyskyguy
Copy link
Author

Yes it works great in terminal.

Yeah there's a lot sass going on :p
On Sep 18, 2015 6:07 AM, "Nicolás Santángelo" [email protected]
wrote:

Hmmm, your settings seem right.

I think this might be a problem with the fact that gulp-sass is a wrapper
around node-sass, which is a node binding for libsass, which is a port of
Sass. So it's very likely that one of those projects it's getting
confused with the PATH.

Does the command work in the terminal?


Reply to this email directly or view it on GitHub
#50 (comment)
.

@nicosantangelo
Copy link
Owner

Welp, I'm having the same error and it's not an easy fix :(
I'll let you know if I find something

@onlyskyguy
Copy link
Author

Does it have to do with local node files vs global? Or due to all the
wrapper action involved with libsass
On Sep 20, 2015 9:05 AM, "Nicolás Santángelo" [email protected]
wrote:

Welp, I'm having the same error and it's not an easy fix :(
I'll let you know if I find something


Reply to this email directly or view it on GitHub
#50 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants