Re:NPM Is Down
by justin_oaks on Wednesday December 15, 2021 @12:14PM
(#29568783)
Do businesses that run Node.js use some sort of caching proxy to protect from cases like this, or does npm make something like that difficult to implement?
[ Parent
| on HN ]
Re:NPM Is Down
by justin_oaks on Wednesday December 15, 2021 @05:52PM
(#29572604)
Exactly what I was looking for. The linked page even describes how to configure the npm CLI to default to the company registry.
Generally Docker. We install all required node deps during our docker build to ensure that running the platform does not require npm.
Re:NPM Is Down
by justin_oaks on Wednesday December 15, 2021 @02:59PM
(#29570852)
Makes sense. Using Docker would make sure you can deploy existing software.
NPM being down would prevent upgrading libraries or rebuilding the Docker image, but that'd only be a problem if NPM was down for a long time.