Hello,
I’m trying to update from 0.37.8
to 0.30.1
node-red-contrib-home-assistant-websocket
via nodered UI but I got an error. In the Node-RED log I can read:
-----------------------------------------------------------
2021-01-15T09:53:00.376Z Install : node-red-contrib-home-assistant-websocket 0.30.1
2021-01-15T09:53:00.530Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix="~" --production [email protected]
2021-01-15T09:53:20.772Z [err] npm
2021-01-15T09:53:20.772Z [err] ERR! code EEXIST
2021-01-15T09:53:20.772Z [err] npm ERR! path
2021-01-15T09:53:20.772Z [err] /data/node_modules/.bin/mustache
2021-01-15T09:53:20.793Z [err] npm
2021-01-15T09:53:20.794Z [err] ERR! Refusing to delete /data/node_modules/.bin/mustache: is outside /data/node_modules/mustache and not a link
2021-01-15T09:53:20.794Z [err] npm ERR!
2021-01-15T09:53:20.794Z [err] File exists: /data/node_modules/.bin/mustache
2021-01-15T09:53:20.794Z [err] npm
2021-01-15T09:53:20.794Z [err] ERR!
2021-01-15T09:53:20.794Z [err] Remove the existing file and try again, or run npm
2021-01-15T09:53:20.794Z [err] npm
2021-01-15T09:53:20.794Z [err] ERR!
2021-01-15T09:53:20.794Z [err] with --force to overwrite files recklessly.
2021-01-15T09:53:20.838Z [err]
2021-01-15T09:53:20.838Z [err] npm ERR!
2021-01-15T09:53:20.839Z [err] A complete log of this run can be found in:
2021-01-15T09:53:20.839Z [err] npm
2021-01-15T09:53:20.839Z [err] ERR!
2021-01-15T09:53:20.839Z [err] /data/.npm/_logs/2021-01-15T09_53_20_812Z-debug.log
2021-01-15T09:53:20.870Z rc=1
I’m running node_RED in a docker container using image: nodered/node-red:latest
but I’m not an expert of npm.
How cai I fix this problem?
I could update other palettes successfully. The problem looks to be connected with HA integration only.
Thank You for any suggestion
Regards