-
Notifications
You must be signed in to change notification settings - Fork 180
npm ERR! code EISGIT, Appears to be a git repo or submodule #73
Comments
same as you |
Try it |
Thanks @Irislm I ran the command and it fixed the issue. I'm still wondering what caused the issue on the first place. |
@Irislm Thanks for the work-around. I edited the issue to specify when this happens |
@fredrik-jarnbrost @a379351939 @Irislm @jqn FYI it's fixed in this commit 1f8d389 See this comment in another issue #69 (comment) |
Oh didn't find that issue when I searched, sorry. Thanks for the quick help! Closing this, duplicate of #69 |
where to run?? |
@shadyo7 run it in the root of your project where the node_modules directory is located |
Also me! |
it breaks my project |
Thanks it work for me |
If you have this problem with Homebrew : rm -rf /usr/local/lib/node_modules/*/.git/ then update again. |
good job , this worked for me |
'rm' is not recognized as an internal or external command, |
delete node_modules and then npm install |
Hi! I get this err: any ideas? |
I'm having this problem too. Have you tried manually removing its .git and seeing if your app still works? |
this isn't best way but it works. remove package-lock.json |
rm -rf node_modules/*/.git/ |
Manually delete the seen react-native-safe-area module, and then run npm. |
Its worked for me. |
I have to do this two steps to work!
Thanks! |
1m silence for the windows users like me. 🙈 🙉 🙊 |
If still have this problem try: |
I tried
and still getting the same error ....
|
Try to clone the repo again (in another directory) and run npm install. |
How would this effect my project ? |
It will not effect your project since you are just cloning it again. |
You can see in my first comment that I don't have a .got directory |
i manually deleted .git folder and all the references to git in package.json |
i manually remove |
Delete your |
What does -rf stand for because I cant run the command on windows ... It tells me that it doesnt know the command -rf using windows 10 |
Sorry was on mac, on windows it should be simple rmdir
-thanks
kirankumar
From: yesIamFaded <[email protected]>
Sent: Monday, May 11, 2020 3:29 AM
To: react-native-community/react-native-safe-area-view <[email protected]>
Cc: Kirankumar Balijepalli <[email protected]>; Comment <[email protected]>
Subject: Re: [react-native-community/react-native-safe-area-view] npm ERR! code EISGIT, Appears to be a git repo or submodule (#73)
What does -rf stand for because I cant run the command on windows ... It tells me that it doesnt know the command -rf
using windows 10
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#73 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADGUHRC6QUGMU7UGRL2USJ3RQ7HOLANCNFSM4HNJ6AYA>.
|
@kirankbee ok but somehow i still have the error.. |
Running |
yh thats the fix got it from stack yesterday !!! @mkhoussid |
@Irislm thanks, save my day |
I get this when I do
npm install
. I'm happy to provide more info if needed.EDIT: this happens on a fresh
npm install
The text was updated successfully, but these errors were encountered: