Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish without .git #96

Closed
gajus opened this issue Aug 15, 2019 · 1 comment
Closed

Publish without .git #96

gajus opened this issue Aug 15, 2019 · 1 comment

Comments

@gajus
Copy link

gajus commented Aug 15, 2019

Currently trying to re-installing cldr is throwing an error:

npm ERR! path /Users/gajus/Documents/dev/applaudience/cinema-data-scraper-sources/node_modules/cldr
npm ERR! code EISGIT
npm ERR! git /Users/gajus/Documents/dev/applaudience/cinema-data-scraper-sources/node_modules/cldr: Appears to be a git repo or submodule.
npm ERR! git     /Users/gajus/Documents/dev/applaudience/cinema-data-scraper-sources/node_modules/cldr
npm ERR! git Refusing to remove it. Update manually,
npm ERR! git or move it out of the way first.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/gajus/.npm/_logs/2019-08-15T10_09_29_257Z-debug.log

This is because ./cldr was published with .git folder.

@papandreou
Copy link
Owner

Hmm, this is really weird. The .git folder wasn't included in 5.3.0, and I just published 5.4.1, which doesn't either.

Maybe I accidentally published 5.4.0 with a version of npm that had this bug: npm/npm#20213

Anyway, if you update to 5.4.1, the problem should go away. Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants