Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Stop inferring package names in directories w/o package.json files #9744

Closed
wants to merge 2 commits into from

Conversation

iarna
Copy link
Contributor

@iarna iarna commented Sep 24, 2015

This fixes: #9695

This fixes that issue because, on Windows, your globals directory is a $APPDATA/npm. And of course, your globals directory doesn't have a package.json because's not a package. So previously we were intuiting its name, from directory name, which was npm, and then we tried to install npm in and and "eek, those look identical!!"

@iarna
Copy link
Contributor Author

iarna commented Sep 24, 2015

Reviewed in person with @othiym23: 🐑

@iarna iarna added this to the 3.x-next milestone Sep 24, 2015
iarna added a commit that referenced this pull request Sep 24, 2015
iarna added a commit that referenced this pull request Sep 24, 2015
@iarna
Copy link
Contributor Author

iarna commented Sep 25, 2015

Landed in 3.3.5!

@iarna iarna closed this Sep 25, 2015
@iarna iarna removed the in-progress label Sep 25, 2015
@iarna iarna deleted the iarna/windows-not-update-self branch October 2, 2015 07:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant