Local hosting node module binaries

We get intermittent problems with prebuilt node-module binaries not downloading from the host repo…most recently bcrypt has been unreliable. We rarely have the correct setup for our dev/build machines to build the binaries locally - so that can also fail.

Is there a recommended way to host binaries locally (within our corporation) rather than relying on someone else’s repo - without needing to bring the whole node-module in-house? Downloading the node_module’s JS always succeeds (i.e. running “npm install” or “npm ci”), it’s only when npm attempts to download the prebuilt binaries that we run into problems.

Thanks,
Neil

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.