0

I have a Vue 2.7 project with vuetify installed. First, I install dependencies using a custom local npm registry, which is a proxy to npm default, now the project is growing and I'm using git actions to deploy for a development server, or at least I'm trying to.

When GitHub actions try to npm install it uses package-lock.json with my registry configured, and of course can't find it, if I delete my package-lock.json or set package-lock to false before install, it returns a lot of warns and error since packages dependencies are outdated.(this happens even when I use specific versions on package.json)

My questions are.

How can I update the npm registry for all my package-lock.json tree of dependencies in order to maintain the right version for every one of them?

Is there any other solution?

Jason Aller
  • 3,541
  • 28
  • 38
  • 38

1 Answers1

0

See my answer on a related question:

  1. Find/replace registry in package-lock
  2. Delete node_modules
  3. Verify npm install works
JBallin
  • 8,481
  • 4
  • 46
  • 51