OpenMarine
SK2 and failures to upgrade plugins - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=2)
+--- Thread: SK2 and failures to upgrade plugins (/showthread.php?tid=4745)



SK2 and failures to upgrade plugins - NickL123 - 2023-07-06

Hello.  
Not sure if I did something out of order.   

Any new plugins available from the SK appstore are failing to install.    

The SK server has errors such as below: 

I tried renaming the folder as indicated in the log but subsequent attempt fails again with different directory.    Looks like many of such folders have a problem and I hope I don't have to manually rename them all.  



Jul 06 10:33:17 stderr: npm
Jul 06 10:33:17 stderr:
Jul 06 10:33:17 stderr: ERR!
Jul 06 10:33:17 stderr:
Jul 06 10:33:17 stderr: code
Jul 06 10:33:17 stderr: ENOTEMPTY
Jul 06 10:33:17 stderr: npm ERR! syscall rename
Jul 06 10:33:17 stderr: npm ERR! path /home/pi/.signalk/node_modules/get-intrinsic npm ERR! dest /home/pi/.signalk/node_modules/.get-intrinsic-oxTqXrxx
Jul 06 10:33:17 stderr: npm ERR! errno -39
Jul 06 10:33:17 stderr: npm ERR! ENOTEMPTY: directory not empty, rename '/home/pi/.signalk/node_modules/get-intrinsic' -> '/home/pi/.signalk/node_modules/.get-intrinsic-oxTqXrxx'
Jul 06 10:33:17 stderr:
Jul 06 10:33:17 stderr: npm ERR! A complete log of this run can be found in:


Jul 06 10:33:17 stderr: npm ERR! /home/pi/.npm/_logs/2023-07-06T14_32_39_135Z-debug-0.log


RE: SK2 and failures to upgrade plugins - PaddyB - 2023-07-06

I had similar the other day, slightly more involved with a random entry in package.json but lots ENOTEMPTY errors. Emptied the node_modules directory & ran npm install to reinstall everything in package.json which cured it.


RE: SK2 and failures to upgrade plugins - NickL123 - 2023-07-06

(2023-07-06, 06:33 PM)PaddyB Wrote: I had similar the other day, slightly more involved with a random entry in package.json but lots ENOTEMPTY errors.  Emptied the node_modules directory & ran npm install to reinstall everything in package.json which cured it.

Many thanks for your response.  I ended up doing the same on OP3 but I did not run npm install.   My modules somehow reappeared after clearing node_modules folder. 

Best regards