-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Can't install node-sass during deployment #1138
Comments
Hi @cibulka, please follow our troubleshooting doc and post all the output into a gist. |
Sorry I have not do that from the start!
Node-sass versions (copied from my local environment, as the installation did not finish remotely):
For some reason, I can't find any Also, I do not run the npm installation as Is there anything else I can post? |
Also, I can confirm that I get same error if I hit
|
Do have the Otherwise can you please paste output of Please do not post it here because it will be too much to read. |
Hmm nothing jumps out at me and the log is surprisingly unhelpful
|
I've contacted my surprisingly friendly hosting provider about this - maybe he will be able to help us somehow. Thanks for quick replies so far! |
I have the same problem after upgraded the npm from v1.4.12 (https://nodejs.org/download/release/npm/npm-1.4.12.zip) to v2.11.3 (https://nodejs.org/download/release/v0.12.7/node-v0.12.7-linux-x64.tar.gz node v0.12.7 built-in). Thanks. |
@cibulka is node on your $PATH ? It seems to me it isn't. |
@rushcat Please follow our TROUBLESHOOTING.md guide, check other already open issues and open a new one, if still having issues. |
@saper It seems to be, although I admit, that due to the fact that I use shared hosting, my paths are little funky.
As I wrote above, every other npm dependency (A LOT of gulp plugins) installs without a problem. So if I had problems with $PATH, wouldn't they be affected as well? Also,
|
Not really. It can be the only module that executes its own scripts outside of node environment. What kind of shell are you running? |
Not sure if you can modify your npm, but it would be cool if you could apply npm/npm#9227 and see more information there. |
Those are the NPM libraries that install without issue (except
What kind of shell am I running - is |
And by npm/npm#9227 you mean to upgrade Node to 3.3.1? I'm affraid I can't do that. I hope that my hosting provider will check this issue though, so maybe he can help us with that ... |
On Fri, 11 Sep 2015, cibulka wrote:
And by npm/npm#9227 you mean to upgrade Node
to 3.3.1? I'm affraid I can't do that. I hope that my hosting provider
will check this issue though, so maybe he can help us with that ...
No, just apply this patch to npm 2.x. Should work...
|
Sorry for my ignorance again, but how do I do that? If it would involve any file modifications / updating (which I believe it would), I still think I would not have rights to do that. My production environment is a shared hosting. |
with
You need to have node-sass unpacked in order to try |
What happens if you just |
My suspicion is that your environment is somehow hardened so you cannot run |
Thank you! I will get in touch with the host and report here tomorrow afternoon the latest. I would really like to find a solution to this before The Deadline Monday. :)
|
So here's what my host says: It is necessary to have /proc filesystem mounted. Without it, node is not able to resolve absolute path correctly. I'm not really sure what that means, but I hope someone with a similar issue would find it helpful here. Thanks for the effort! |
That's interesting. What kind of operating system is this? |
As it turns out, the mystery issue lies somewhere else than in "/proc filesystem". No idea where though. Due to serious time pressure, I had to switch my deployment worflow to ruby sass (while still using node-sass locally). When there will be a little more time, me and my host will try to investigate the issue more and will let you know if anything comes up! |
Fix order of top nodes (comments and imports)
Hello everyone!
I am using
gulp-sass 2.0.4
(that usesnode-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.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!
The text was updated successfully, but these errors were encountered: