Updating SignalK fails on OP3, 64-bits. Sample output:
This happens when you try to "reinstall SignalK". Running "sudo npm install -g signalk-server" also fails with a similar error.
This doesn't happen when using a 32-bits image.
Code:
npm verb stack Error: ENOTEMPTY: directory not empty, rename '/usr/lib/node_modules/signalk-server' -> '/usr/lib/node_modules/.signalk-server-1toVL4zJ'
npm verb cwd /home/pi
npm verb Linux 5.15.32-v8+
npm verb node v16.16.0
npm verb npm v9.2.0
npm ERR! code ENOTEMPTY
npm ERR! syscall rename
npm ERR! path /usr/lib/node_modules/signalk-server
npm ERR! dest /usr/lib/node_modules/.signalk-server-1toVL4zJ
npm ERR! errno -39
npm ERR! ENOTEMPTY: directory not empty, rename '/usr/lib/node_modules/signalk-server' -> '/usr/lib/node_modules/.signalk-server-1toVL4zJ'
npm verb exit -39
npm verb unfinished npm timer reify 1672911334630
npm verb unfinished npm timer reify:retireShallow 1672911367098
npm verb code -39
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-01-05T09_35_34_488Z-debug-0.log
This happens when you try to "reinstall SignalK". Running "sudo npm install -g signalk-server" also fails with a similar error.
This doesn't happen when using a 32-bits image.