Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
npm3 confused about misplaced node_modules/package.json #9285
Accidentally ended up with a package.json in node_modules.
npm v3.3.0 doesn't take it well:
Problem is the
Works fine in npm v2.
To reproduce, use npm v3 to
Ok, so what you're reporting is that:
If a non-directory is placed in the
Additionally, it does this in rather fraught terms "omg extraneous, augh error!!".
I would propose that we should be reporting this. Eg, if I run
referenced this issue
Sep 14, 2015
This issue seems to persist on V 3.3.8 even after re-installing the node version afresh after purging