-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Installation failure on Linux when process.execPath is relative #1323
Comments
Also the server is running Ash shell, not sure if this could be a problem. I noticed this comment in another issue: |
|
Hi, I'm guessing that command invokes the interpreter, no errors.
|
@bobbwal is /bin/sh and /bin/ash the same binary? Does it help if you try bash? Is the current directory symlinked? |
/bin/sh and /bin/ash are identical but I'm not sure what this means. Bash is not installed but I can have a statically compiled bash added on request. The directory is symlinked |
This symlink is interesting - can you elaborate more on the directory structure used? Where is your |
What is your |
Can you try running the following snippet under your var fs=require('fs'); console.log(process.execPath); console.log(fs.lstatSync(process.execPath)); fs.realpathSync(process.execPath); |
Here you go:
Directory structure (only included the stuff I thought was relevant):
|
Do you know why your |
Do you have |
This is most probably caused by https://www.kernel.org/doc/Documentation/filesystems/overlayfs.txt
(...)
(kudos to https://gist.github.com/shimarin/5c1833dcbb3ea4c04256#gistcomment-1546393) |
Sounds like this should be fixed by #1322. |
Don't think so, as this is the problem occurring in our installer, not the CLI. The fix will be simple once we fully understand the issue. |
Hi, not really sure about the
|
Hi, not really sure about the `/proc` file system, appears not?
Is there a `mount` command you can possibly run?
|
Struggling a little on this but |
Remove red tape surrounding process.execPath and use it as-is. In particular, do not try to canonicalize the path returned by process.execPath as this might be relative in the restricted Linux environments (for example using overlayfs). We should be prepared to accept relative or otherwise broken process.execPath and have a faith it works (otherwise our build scripts wouldn't be invoked in the first place). sass#1323
Happy to hear that! Thank you for helping us to locate this issue .... and lots of luck working in your ehm environment :) |
Thanks, and good work :) |
This fix is on master and will be the next release. |
I've been through the troubleshooting but no node-sass/vendor folder is created so that's as far as I can go. Here's my output https://gist.github.com/bobbwal/f4ce61210ff88d9f9f85
Thanks
The text was updated successfully, but these errors were encountered: