Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node_modules/agm-overlays: Appears to be a git repo or submodule #31

Open
mruknowme opened this issue May 20, 2019 · 6 comments
Open

node_modules/agm-overlays: Appears to be a git repo or submodule #31

mruknowme opened this issue May 20, 2019 · 6 comments
Labels
invalid This doesn't seem right Ready to Close

Comments

@mruknowme
Copy link

mruknowme commented May 20, 2019

Getting this error after installing new agm-overlays, reverting doesn't help. Now any npm command is not executable successfully.

node_modules/agm-overlays: Appears to be a git repo or submodule

npm ERR! git Refusing to remove it. Update manually,
npm ERR! git or move it out of the way first.

node 12.2.0
npm 6.9.0

@havo07
Copy link
Collaborator

havo07 commented May 20, 2019

It is a topic with your team, I update without problem, try to remove the module and add it again

@AckerApple
Copy link
Owner

@havo07 is most like right. That errors comes from making manual changes to a folder. Please delete agm-overlays in node_modules and reinstall

@havo07 your help is much appreciated and I will make you a contributor os this package real soon (off to take kid to school)

@AckerApple AckerApple added invalid This doesn't seem right Ready to Close labels May 20, 2019
@nkprince007
Copy link

I'm facing the same error on fresh install of agm-overlays in travis CI

@AckerApple
Copy link
Owner

@nkprince007, can you indicate if you've used this library in the past?

Really thinking updates to Angular and/or TypeScript are a part of this

@nkprince007
Copy link

No, I'm a fresh user to this package, but I've heard from my team that they've been using it for over a year.

@AckerApple
Copy link
Owner

I found it when it happened to me.

Somehow the .git folder got published to npm. I had no .npmignore file.

This is fixed in v1.4.1

If you are getting this issue from an older version, remove the folder node_module/agm-overlays and reinstall.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right Ready to Close
Projects
None yet
Development

No branches or pull requests

4 participants