AckerApple / agm-overlays

Custom marker overlay for the @agm/core package
MIT License
25 stars 24 forks source link

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

Open mruknowme opened 5 years ago

mruknowme commented 5 years ago

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 commented 5 years ago

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

AckerApple commented 5 years ago

@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)

nkprince007 commented 5 years ago

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

AckerApple commented 5 years ago

@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 commented 5 years ago

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 commented 5 years ago

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.