exceptionless / Exceptionless.JavaScript

Exceptionless JavaScript client
http://exceptionless.com
Apache License 2.0
59 stars 24 forks source link

npm git error with 1.6.2 #86

Closed PaitoAnderson closed 5 years ago

PaitoAnderson commented 5 years ago

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 commented 5 years ago

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.