You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E.g. in a Node-RED container I have installed node-red-contrib-math by entering the following command npm install bartbutenaers/node-red-contrib-math
This did successfully install the math node but when I restarted the container, I noticed that this node was no longer installed.
The text was updated successfully, but these errors were encountered:
janvda
changed the title
node-red nodes installed are lost when restarting the node-red container
node-red nodes installed are lost when restarting/redeploying the node-red containers
Nov 22, 2018
janvda
changed the title
node-red nodes installed are lost when restarting/redeploying the node-red containers
node-red nodes installed through npm install are lost when restarting/redeploying the node-red containers
Nov 22, 2018
In order to assure that nodes installed through npm install are not lost after a restart of the container, you must assure that they are installed in the \data directory. So you must first do a cd \data and then execute the npm install .... command. This will assure that the node is correctly installed under folder \data\node_modules\ and that it will persist after restarts of the container.
E.g. in a Node-RED container I have installed
node-red-contrib-math
by entering the following commandnpm install bartbutenaers/node-red-contrib-math
This did successfully install the math node but when I restarted the container, I noticed that this node was no longer installed.
The text was updated successfully, but these errors were encountered: