-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Post install failed #2178
Comments
It is an access issue from the |
I'm also hitting this. And it cannot be access issue. as I'm running npm install as root. and I'm not installing this globally. |
I had to run npm with: The problem is with node-sass because it tries to install some files globally!
|
Had the same issue as @mvrhov and his solution worked for me |
Hello @nschonni, thank you for your answer, but read all the content of issue, please, it's absolutely not an EACCES, and #1098 can't resolve problem ! I said « /usr/local/lib/node_modules/node-sass/vendor/linux-x64-48 directory can't be created cause the /usr/local/lib/node_modules/node-sass/vendor directory », it's cause the vendor directory doesn't exist, the vendor directory is not created. If it can't be created cause an EACCES, so the solution is elsewhere i'm executed command in a root session (no need sudo). Yes, it's an In #1098, @saper said « sudo npm will run our installations scripts as nobody », so i switched to root session by Everybody say «check permissions, check permissions, ...», it's a joke ? We aren't novices, for information all is root, session, directories, etc., so: No problem with permissions !! You know, if it's really a permission problem, it concerns the vendor directory in node-sass install. But how check permissions on the node-sass installation directory, this directory is created by Following @mvrhov 's advice, i did But it may true, it can be a permission problem cause This problem is a big big big problem, cause node-sass is in dependencies of some other projects like "@angular/cli", and cause this problem "@angular/cli" can't be installed cause this big big problem. Fortunately @mvrhov is here and now i can use "@angular/cli". Plus, all is explained in TROUBLESHOOTING.md which gives the same solution given by @mvrhov, the solution solves the problem but i'm not convinced with explanations. Thank you for closing the issue even if the problem has not been fixed yet. For the next time, asking if it is okay is the minimal politeness. |
npm -v
): 5.5.1node -v
): v6.11.4node -p process.versions
):node -p process.platform
): linuxnode -p process.arch
): x64When i want install, here is the result, with an infinite execution, the installation processus never ends :
And it's absolutely not a problem with access rights (permissions), indeed, the /usr/local/lib/node_modules/node-sass/vendor/linux-x64-48 directory can't be created cause the /usr/local/lib/node_modules/node-sass/vendor directory never exists in post-install.
The text was updated successfully, but these errors were encountered: