cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

Import node-red modules offline

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 modified configuration.png

 Error importing new configuration with the directory node-red modified

4 REPLIES 4

CodeShepherd
Community Moderator
Community Moderator

Like mentioned here you do not need a internet connection (beeing online) to import a tgz file into Node-RED. Which files and how did you try to make an archive?

Which module do you try to install? And which error is shown in that case.

Please beware that you cannot exchange a configuration one on one from a Node-RED standard to the ctrlX CORE - Node-RED app as we implemented some security mechanism and integration functionality.

The module that I'm trying to install is node-red-contrib-ros. To generate the file .tgz I used the command "npm pack node-red-contrib-ros". When I install it in node-red it's generate the next error:

nodered1.png

Nodered2.png

I read the post that u mentioned but I didn't see anything about installing a module offline, in the other hand in the post it says that I have to connect to the internet to update nodes. Is there any other way to generate the tgz file?

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.

Hello! It's not necessary for you to prepare the package because it was a test I was doing for a client and it isn't really optimal when working with clients, to ask you to make a package every time a client request for it. Thank you very much anyway. I'll try to give internet access to the COREVirtual and install it directly. Best regards and thank you very much.

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist