I have set up a private NPM registry (proxy) and I wanted all my project packages (that are listed in package-lock.json
) to be reinstalled from there but it seems that NPM keeps installing from public registry. I tried clearing/deleting package-lock.json
- I got all packages downloaded from private repo but then got completely different versions of packages installed (minor versions raised to newest). That causes me troubles as many packages are incompatible (although minor version differences shouldn't have braking changes).
I there a way to get exact same versions from package-lock.conf
but from different registry and without specifying exact versions in package.json?