Skip to content

How to manage packages manually

Thorsten von Eicken edited this page Apr 25, 2021 · 4 revisions

The standard way to manage packages used in front-end code is to use the package manager that is accessible from any uibuilder node in the node-red UI. However, it is sometimes necessary to manually control which packages get installed in the node-red node_modules, for example, when running a docker build. In this case, it is possible to manually make already-installed packages available for download by the front-end code.

In uibuilder's .config folder (typically found at ~/.node-red/uibuilder/.config on a standard install without projects), there are two files masterPackageList.json and packageList.json. The master list is used when Node-RED starts up to check the installed packages, if it finds that any of the ones in the master list are installed, it will automatically serve them. When it does so, it adds them to the package list. The package list can also be changed manually.

Clone this wiki locally