npm error EISGIT on npm install
See original GitHub issueI use this module in my project and up until very recently it was working fine.
Now it causes this error on npm install in my project…
npm ERR! path /builds/aabuhijleh/electron_desktop/rb-services/node_modules/mdbootstrap
npm ERR! code EISGIT
npm ERR! git /builds/aabuhijleh/electron_desktop/rb-services/node_modules/mdbootstrap: Appears to be a git repo or submodule.
npm ERR! git /builds/aabuhijleh/electron_desktop/rb-services/node_modules/mdbootstrap
npm ERR! git Refusing to remove it. Update manually,
npm ERR! git or move it out of the way first.
the issue is solved by
rm -rf node_modules/mdbootstrap/.git/
the git repository should be removed from the package.
mdbootstrap v4.7.4 used in electron OS: both Windows 7 and Ubuntu
Issue Analytics
- State:
- Created 5 years ago
- Reactions:13
- Comments:10 (2 by maintainers)
Top Results From Across the Web
npm ERR! code EISGIT, Appears to be a git repo or submodule
I get this when I do npm install . I'm happy to provide more info if needed. npm ERR! code EISGIT npm ERR!...
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 >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 >React Native Notes 22: npm ERR! code EISGIT [Solution]
Just run this command, then npm i again and it will work. Simple but I recommend you to upgrade your RN version to...
Read more >Npm error - Material Design for Bootstrap
npm install mdbootstrap works fine but when I want to install other packages I get: npm ERR! path /Users/xxxxx/code/yyyy/node_modules/mdbootstrap npm ERR!
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 Free
Top 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
i am geting the same error @deepankarsandy
It’s an awful issue, but with the next update we’ll fix it up