-
Notifications
You must be signed in to change notification settings - Fork 23
Failed to install with npm 5.6.0 #62
Comments
👍 same here. |
same issues here. To fix it, I ran
inside the installation dir
execute the postinstall script with
and everything worked. It could be that passing |
@cirpo Did you try Does nvm remove the need to use sudo? |
@jordwalke I didn't (I tend to avoid to use sudo as much as I can) In the next days I will try to replicate different scenarios, I'll keep you posted. |
Thanks, it's pretty common to have to use |
I used |
What about sudo without unsafe perm? Can you specify your OS/distro? |
I tried all the combinations using nvm node 9.2.0 and npm 5.6 with/without
sudo and unsafe-perms: always the same issue.
Tomorrow I will try with the node brew installation without nvm.
On Sat, 30 Dec 2017 at 11:00 pm, Jordan W ***@***.***> wrote:
What about sudo without unsafe perm? Can you specify your OS/distro?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#62 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADING0RoolxbwUjAn0_D1O2bcW8b-heks5tFrJ5gaJpZM4RLwQT>
.
--
@cirpo
mobile: +44 7492 014 290
skype: cirpolo
linkedin: http://linkedin.com/in/cinellialessandro
github: http://github.com/cirpo
|
@jordwalke I'm on OS X Yosemite 10.10.5 |
Just wanted to parrot in here, I'm also on an NVM setup, OS X High Sierra (10.13.2) and exhibited the same problems that @DarrylD and @cirpo had, both @jordwalke to answer your question, yes, NVM basically redirects to a "user safe" spot for Node installations, allowing one to switch versions at will and not have to use I tried @cirpo's fix where we drop in |
cc @andreypopp any clue what this could be (nvm installs should require less permissions than regular npm/node installations I thought) |
I tried to repro this but no luck. My system:
How did you install
To me this sounds like either an npm bug which extract with incorrect permissions in some occasions (I saw something like this on npm bugtracker but they reported those bugs are fixed now) or an incorrect |
Other than all the possibile combinations with nvm, I tried with node
9.3.0, npm 5.6.0 via brew system installation and I get the same
"Permission denied" errors.
…On Tue, Jan 2, 2018 at 11:19 AM, Andrey Popp ***@***.***> wrote:
I tried to repro this but no luck.
My system:
% uname -a
Darwin Andreys-MacBook-Pro.local 17.3.0 Darwin Kernel Version 17.3.0: Thu Nov 9 18:09:22 PST 2017; root:xnu-4570.31.3~1/RELEASE_X86_64 x86_64
% node -v
v9.2.0
% npm version
{ npm: '5.6.0',
ares: '1.13.0',
cldr: '32.0',
http_parser: '2.7.0',
icu: '60.1',
modules: '59',
nghttp2: '1.25.0',
node: '9.2.0',
openssl: '1.0.2m',
tz: '2017c',
unicode: '10.0',
uv: '1.16.1',
v8: '6.2.414.44-node.11',
zlib: '1.2.11' }
% which node
/Users/andreypopp/.nvm/versions/node/v9.2.0/bin/node
% which npm
/Users/andreypopp/.nvm/versions/node/v9.2.0/bin/npm
How did you install nvm? I did:
% curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
To me this sounds like either an npm bug which extract with incorrect
permissions in some occasions (I saw something like this on npm bugtracker
but they reported those bugs are fixed now) or an incorrect nvm env setup.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#62 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADINNr0OfxQObDN1wqmmaVPtLSYRdb2ks5tGgKwgaJpZM4RLwQT>
.
--
@cirpo
mobile: +44 7492 014 290
skype: cirpolo
linkedin: http://linkedin.com/in/cinellialessandro
github: http://github.com/cirpo
|
There's two different issues going on here it looks like. "Fix" for this is to install with This hack works and solves the problem but I'll look into how we can fix this properly. |
I was having this issue on node v9.5.0 / npm 5.6.0 and debian stretch until I installed gcc/g++, which appears to be required? |
@hath Thank you, i was having this error on Linux Mint:
I ran:
And i'm good now. Docs do mention glibc but i didn't find how to install it, i did with g++. |
The text was updated successfully, but these errors were encountered: