Import node-red modules offline

Hello! I'm trying to install a node-module offline in Node-RED. I have already tried creating a .tgz pack of a module from a physical PC and importing it toĀ Node-RED, but for that, I need to be online. I have also tried downloading a manage app data configuration and replacing the node-red folder with its configuration and node-modules, but when I reload the configuration, it does not let me import it and gives me an error.Ā I would like to know if there is any way to install node-modules with no connection.

thanks in advance!

ā€ƒError importing new configuration with the directory node-red modified

Best reply by CodeShepherd

Using the internet is theĀ intended way. We created some "how to connect to the internet" that can be found in our how to collection:

  • Connect ctrlX COREvirtual to theĀ Internet [DOCU]
  • Connect real ctrlX CORE via proxy to the Internet [DOCU]

A "npm pack" is not enough as it will only pack the actual data you have but while importing it will still try toĀ access the internet. You will need to add all sources and remove all internet accesses in the tgz you like to import. We can create such a package for but you will need to sign a usage disclaimer. Please send me your contact data in a private message if needed.

View original
4 replies