DEV Community

Dina
Dina

Posted on

3

Ensure npm package is updated

Do you install your private node modules as below?



// package.json

"dependencies": {
  "private-module": "git+ssh://git@github.com:private-module.git#v5.5.5"
}



Enter fullscreen mode Exit fullscreen mode

If yes, chances are when you upgrade the package version to #v5.5.6, and do npm install, your package-lock.json wont be updated and neither the actual files inside node_modules. To ensure the update, I am having to manually update the package-lock file. Has anyone faced this?

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay