Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up.npmrc prefix override nvm #606
Comments
|
I don't believe this is an |
|
I asked @SeeThruHead to file this - the problem as I see it is that I'm not sure how to handle this, but at the least, |
|
Noting from #427 that the env var |
|
Maybe detect the nvm config setting upon installation and issue a stern warning? |
|
I'm considering making |
|
sure, just do a |
|
Also |
|
Ugh. Until this is patched, you might want to put a note in the README … I have no idea where my |
|
Good idea - I'll get to one or the other hopefully in the next few weeks, but a README PR is welcome in the meantime. |
|
Can this be closed since 7ea15a7? |
|
I'm leaving it open until |
|
Now Reopening, however, because I forgot about |
|
Would be nice if this prefix thing could be omitted somehow through |
|
@leomoreno in what way? The whole concept of PREFIX is incompatible with nvm. |
|
If the suggested fix is to May be I'm misunderstanding and should not I was just thinking in something that let you |
|
@elmorenocivitas |
|
@ljharb for some reason it's necessary all the times here. Thanks for the fast answer! |
Since markdown-link-check hasn't support relative links, to make the test passed, move this link to use absolute URL so that we can introduce the new test. cc tcort/markdown-link-check#10
|
I followed this comment to solve my issue. |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

symptoms, npm install -g npm installs npm to the wrong directory
overridden by .npmrc
removing "prefix=~/.node" from npmrc fixes the issue
osx ver: osx 10.10.1
zsh ver: zsh 5.0.5 (x86_64-apple-darwin14.0)
.npmrc:
prefix=~/.node