-
Notifications
You must be signed in to change notification settings - Fork 2k
“Error: The libsass
binding was not found…” in 4.2.4-wheezy.
#88
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
Comments
Hi, I can't seem to reproduce the issue your are having. Grabbed the latest wheezy 4.2 image:
And from within the container I did this:
And it installed:
That's using the latest version of node-sass |
Yes, that works for me too. I investigated a bit further and the problem seems to lay in the node-sass-middleware module used by express. Try:
The problem seems to be these lines here:
substituting
with
fixes the issue which I don't have to do if I install it on my mac using 4.2.4, as well as when I use the 5.4.1 image. |
Indeed, npm 2.x will not execute scripts when run as |
Okay, that makes sense. Changing the directory owner on my mac to root and running
Leading to the same error
I guess the proper way to go would be to create a user which owns the directory the app runs within, basically the way Starefossen suggested in his best practices guide ? |
Yes. Alternatively, you could just run npm with |
Cool, thanks for your help! |
Running with another |
@Starefossen I know this is an old issue, but we're trying to find a resolution other than running with |
Hey,
I posted a question on stackoverflow regarding a problem I have with node-sass using the 4.2.4-wheezy image. I am wondering right now if this has something to do with the image itself as I am perfectly capable of building it on my machine running node 4.2.4 and on the 5.4.1-wheezy image on docker.
The text was updated successfully, but these errors were encountered: