-
Notifications
You must be signed in to change notification settings - Fork 3k
.npmrc prefix config is not respected #6358
Comments
That is because
The way you've set the prefix in config can't work (because it's a relative path), and wouldn't do what you want it to even if it did (as you've seen). |
So there is no way of creating the node_modules in another directory than the current one while using |
What's your use-case? |
I want all my config files (including package.json) in my root directory but I want also want the node_modules folder under a dependencies folder.
|
npm's primary job is to read dependencies from a |
Ok not a problem thanks 👍 |
These is a schaisser, these is causing a lot of the problems with msbuild, becuase msbuild don't support more that 256 characters in the path, also continues integration create some problems, when i download the project i also need to download all packages, it is not in a central folder as nuget. how is not going possible to change it?. it is insane |
[ osx 10.9.5 / node v0.10.32 / npm v2.0.2 ]
In my project I have a
.npmrc
file containingWhen I run an
npm install
it creates a folderdependencies
but puts thenode_modules
in the project's root.It works correctly if I run
The text was updated successfully, but these errors were encountered: