Skip to content

npm fix inside Node-RED app container #734

Answered by Virgus
Virgus asked this question in Q&A
Discussion options

You must be logged in to vote

Issues solved with a trick suggested from the NodeRED forum community.

The sudo command was issued from outside the container:
sudo chown -R 1000:1000 /DATA/AppData/Node-RED/data/.npm

A second issue was related to node.js version which had to be => v14.0.0
So the fastest solution was to export AppFile from CasaOS and change node-RED image from nodered/node-red:2.2.2-12 to nodered/node-red:2.2.3-14 and re-import the AppFile.

Please consider updating the official default AppFile to nodered/node-red:2.2.3-14 so that these issues will not occur.

BTW, when an app is removed all data is deleted by default so I had to re-import my backup files.
It would be nice in the future to have an option to…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Virgus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant