andreypopov / node-red-contrib-miio-roborock

Xioami Roborock node-red nodes
Apache License 2.0
30 stars 11 forks source link

Cannot upgrade from 2.3.3 to 2.3.4 #49

Closed S474N closed 2 years ago

S474N commented 2 years ago

Describe issue Cannot upgrade from 2.3.3 to 2.3.4

Screens / Logs

2022-07-19T18:27:10.782Z Install : node-red-contrib-miio-roborock 2.3.4

2022-07-19T18:27:09.939Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-miio-roborock@2.3.4
2022-07-19T18:27:22.188Z [err] npm WARN deprecated appdirectory@0.1.0: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
2022-07-19T18:27:38.377Z [err] npm ERR! code
2022-07-19T18:27:38.377Z [err]  EEXIST
2022-07-19T18:27:38.377Z [err] npm ERR! path /data/node_modules/.bin/msgpack
2022-07-19T18:27:38.418Z [err] npm ERR! Refusing to delete /data/node_modules/.bin/msgpack: is outside /data/node_modules/msgpack-lite and not a link
2022-07-19T18:27:38.419Z [err] npm ERR! File exists: /data/node_modules/.bin/msgpack
2022-07-19T18:27:38.419Z [err] npm ERR! Remove the existing file and try again, or run npm
2022-07-19T18:27:38.419Z [err] npm ERR! with --force to overwrite files recklessly.
2022-07-19T18:27:38.442Z [err] 
2022-07-19T18:27:38.443Z [err] npm ERR! A complete log of this run can be found in:
2022-07-19T18:27:38.443Z [err] npm ERR!     /data/.npm/_logs/2022-07-19T18_27_38_428Z-debug.log
2022-07-19T18:27:38.481Z rc=1

Hardware / Software   - raspberry 4 , 64bit   - nodered 3.0.0 (but same problem on 2.2.x)

andreypopov commented 2 years ago

I have no idea, works fine for me

2022-07-19T18:27:38.419Z [err] npm ERR! File exists: /data/node_modules/.bin/msgpack 2022-07-19T18:27:38.419Z [err] npm ERR! Remove the existing file and try again, or run npm

S474N commented 2 years ago

OK, manually deleted file msgpack and everything is ok.