using JFrog Artifactory instead Nodejs.org registry #999
-
Hello, I have an on-premise network that can’t access the internet, and I have JFrog Artifactory that I am trying to deploy the Nodejs zip installations files and I can’t make it work. I've configured the nvm node_mirror to the url of my repository in the artifactory How should I arrange the structure of the artifactory repository ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
You should be able to mirror the Node distribution directory found at https://nodejs.org/dist/. Notice each version is in its own directory using the syntax Npm also needs to be mirrored if you want it to be available for users. New versions of npm come from https://github.com/npm/cli/releases. Npm changed their repo quite a while ago. If older versions are required, files from https://github.com/npm/npm/releases will be needed as well. |
Beta Was this translation helpful? Give feedback.
You should be able to mirror the Node distribution directory found at https://nodejs.org/dist/. Notice each version is in its own directory using the syntax
vX.X.X
. NVM4W also relies on theindex.json
file found in this directory.Npm also needs to be mirrored if you want it to be available for users. New versions of npm come from https://github.com/npm/cli/releases. Npm changed their repo quite a while ago. If older versions are required, files from https://github.com/npm/npm/releases will be needed as well.