"Appears to be a git repo or submodule" error w/ npm 3
See original GitHub issuenpm ERR! Darwin 15.0.0
npm ERR! argv "/usr/local/bin/iojs" "/Users/casey/.npm/bin/npm" "install"
npm ERR! node v4.1.0
npm ERR! npm v3.2.1
npm ERR! path /Users/casey/Code/UniversitySite/node_modules/flippant
npm ERR! code EISGIT
npm ERR! git Appears to be a git repo or submodule.
npm ERR! git /Users/casey/Code/UniversitySite/node_modules/flippant
npm ERR! git Refusing to remove it. Update manually,
npm ERR! git or move it out of the way first.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/casey/Code/UniversitySite/npm-debug.log
and relevant package.json
section
"napa": {
"flippant": "mintchaos/flippant.js",
}
Issue Analytics
- State:
- Created 8 years ago
- Comments:12 (3 by maintainers)
Top Results From Across the Web
npm ERR! code EISGIT, Appears to be a git repo or submodule
Try to clone the repo again (in another directory) and run npm install.
Read more >Fixing the EISGIT npm appears to be a git repo or submodule ...
Fixing the EISGIT npm appears to be a git repo or submodule Error. This happened when i was deploying an app to heroku....
Read more >How to update npm modules, ignoring a git repo
git directory, and throws the EISGIT error if it exists, so there is no way to ignore it or skip it. The code...
Read more >git-submodule Documentation - Git
With no arguments, shows the status of existing submodules. ... Add the given repository as a submodule at the given path to the...
Read more >Git submodule - Atlassian
A git submodule is a record within a host git repository that points to a specific commit in another external repository. Learn more...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
My current workaround modifying the install script in package.json to
napa && rm -rf node_modules/*/.git/
Hello,
The same now :
best regards,