A
A
Anton Anton2019-04-18 11:03:43
npm
Anton Anton, 2019-04-18 11:03:43

How to fix the fact that after any npm install you have to repeat the install from git?

Made

npm install --save git+https://github.com/user/repo.git
, everything is working. I do anything npm install package- what is installed from git flies, I have to repeat
npm install --save git+https://github.com/user/repo.git
to make everything work again.
in packaje.json, at first glance, everything is OK:
"dependencies": {
...
    "axios": "^0.18.0",
    "repo": "git+https://github.com/user/repo.git",
    "moment": "^2.24.0",
...
  },

How to fix this behavior?
>npm --version
5.6.0

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Bogachev, 2019-04-18
@Fragster

Discussion #19394 says this issue has been fixed in version 5.7.0. You should probably update NPM a bit.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question