Hi Michael, there are two places where you need the list of installed libraries.
-
~/.node-red/package.json
- required for the npm package installation -
~/.node-red/uibuilder/.config/packageList.json
- required so that uibuilder knows which installed packages to serve up using its web server.
I think (though I don't use projects so I'm a little vague on memory sorry) that the uibuilder
folder is under the project folder. ~/.node-red/projects/<projectName>/uibuilder/.config/packageList.json
. However, the package.json remains in the same place when using projects as all npm installs are shared I think.
So as long as the npm package is still installed, you just need to make sure that the uibuilder .config folder is also under version control.