Skip to content

npm git error with 1.6.2 #86

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

Closed
PaitoAnderson opened this issue Jun 18, 2019 · 1 comment
Closed

npm git error with 1.6.2 #86

PaitoAnderson opened this issue Jun 18, 2019 · 1 comment

Comments

@PaitoAnderson
Copy link

After updating to 1.6.2 from 1.6.1, I started getting this error when running npm i.

➜  XXX git:(master) ✗ npm i
npm ERR! path /Users/paitoanderson/Developer/XXX/node_modules/exceptionless
npm ERR! code EISGIT
npm ERR! git /Users/paitoanderson/Developer/XXX/node_modules/exceptionless: Appears to be a git repo or submodule.
npm ERR! git     /Users/paitoanderson/Developer/XXX/node_modules/exceptionless
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/paitoanderson/.npm/_logs/2019-06-18T14_17_20_551Z-debug.log
@niemyjski
Copy link
Member

Thanks! I fixed this issue by adding a gitignore for .git. Seems for some weird reason .git/hooks/README.sample was being included in the nom package. I've created 1.6.3.

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

No branches or pull requests

2 participants