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
npm behaves non-deterministically wrt to dependencies that are already installed #5655
Step to reproduce (the grunth-cli package depends on grunt-cli):
After (1-2), the structure is:
This is with npm 1.4.20, Node both 0.10.29 and 0.11.13.
Is this still a problem for you?
When I try to reproduce this with latest npm, I find that grunt-cli is installed both at the global level and as a dependency of grunth-cli after step 2 only. Step 3 causes no change.
I tested this with
We are trying to clean up older npm issues, so if we don't hear back from you within a week, we will close this issue. (Don't worry -- you can always come back again and re-open it!)