3 ms·
Lockfile doesn't help here. The packages were yanked from the repos. The lockfile will tell your package manager to try to download a package that does not exis
by Gigachad 5y ago
Lockfile doesn't help here. The packages were yanked from the repos. The lockfile will tell your package manager to try to download a package that does not exist. Checking in the entire node_modules folder saves you since you don't need to fetch any external files.
- SergeAx 5y agoGood practive here is using package cache. It is not that hard to install, and your CI builds will save tons of trafic for you and for global package repos (Github, NPM, Packagist and so on)
- verdverm 5y agoIndeed, Go would not have failed here because the global package cache keeps deleted repos. Module authors cannot effect this Other languages require you to run a cache and set proxy config up for the builders