Hi, I was trying to get help with installing new nodes offline. I figured I could download the node packages on a pc with internet connection and then just move the file to the pc with access to NodeRED on it. Turns out when trying to install the modules locally the Palette setting only accepts .tgz files. When trying to download the package from https://www.npmjs.com/package/node-red-contrib-groov-io I only get the option to download the .zip file or .tar.gz
Is there any way that I can get the .tgz file so I can try the local install. Or will there be a better way to install the needed modules offline? Any help will be appreciated! Thank you
Host a Verdaccio instance and use npm command to import the artifact, or just publish it to verdaccio. Then configure your npm to proxy requests through Verdaccio.
Or run npm install in a temp directory to install it locally, then run npm pack to repack it into a tgz
In any case, take in account that when you install a package, it pulls all its required dependency packages (which pull their own dependencies etc.).
So don't just copy specific files. configure the system on a local (connected) machine, then transfer the whole node-red home directory (and also the npm directory if you have global nodes or want to copy node-red itself).
If you are copying to a different OS you may need to update some paths on you target settings.js file, and make sure your system does not have compiled OS-specific packages.