question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

react-native-push-notification Appears to be a git repo or submodule.

See original GitHub issue

i have install react-native-push-notification and react-native link react-native-push-notification but when i want to install another package or run npm install i face with this error

node_modules\react-native-push-notification: Appears to be a git repo or submodule.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:30
  • Comments:23 (3 by maintainers)

github_iconTop GitHub Comments

85reactions
shreyasb07commented, May 3, 2019

remove any .git files present in the node_modules folder

In your terminal, from your project folder: rm -rf node_modules/*/.git

6reactions
isaiaholscommented, Jun 12, 2019

The issue is that .git was not ignored by putting it in your .npmignore. I’ve made a PR to fix this! @zo0r Please merge

#1085

Read more comments on GitHub >

github_iconTop Results From Across the Web

code EISGIT ... node_modules/sitemap: Appears to be a git ...
Looking around the net that error appears to happen if one of the dependences has a .git folder inside. Checking locally though I...
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 >
Git - Submodules - Git SCM
Let's start by adding an existing Git repository as a submodule of the repository that we're working on. To add a new submodule...
Read more >
Git Error: "Does Not Appear To Be a Git Repository"
The Git error "Does not appear to be a Git repository" can be difficult to isolate, but this article will tell you exactly...
Read more >
Git submodule - Atlassian
A git submodule is a record within a host git repository that points to a specific ... This may seem redundant and lead...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found