2019-11-03, 12:02 PM
(2019-11-03, 08:07 AM)tkurki Wrote: Hi,
Yes, the version is old; 6.14.1
I renamed the direcory. OP still fails to start but the errors are different. See below.
Are there a way to roll back the failed install of signalk-nmea2000 ?
Cheers,
Pär W
.pi@openplotter:~ $ openplotter
Signal K starting
module.js:478
throw err;
^
Error: Cannot find module 'express'
at Function.Module._resolveFilename (module.js:476:15)
at Function.Module._load (module.js:424:25)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/pi/.config/signalk-server-node/lib/index.js:22:17)
at Module._compile (module.js:577:32)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
[Errno 111] Connection refused
Signal K starting
module.js:478
throw err;
^
Error: Cannot find module 'express'
at Function.Module._resolveFilename (module.js:476:15)
at Function.Module._load (module.js:424:25)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/pi/.config/signalk-server-node/lib/index.js:22:17)
at Module._compile (module.js:577:32)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
[Errno 111] Connection refused
Traceback (most recent call last):
File "/home/pi/.config/openplotter/openplotter", line 3539, in <module>
MainFrame().Show()
File "/home/pi/.config/openplotter/openplotter", line 224, in __init__
self.page_sk()
File "/home/pi/.config/openplotter/openplotter", line 2998, in page_sk
self.close()
AttributeError: 'MainFrame' object has no attribute 'close'
The error sounds like you have an outdated Node.js version. You can check it with
node -v
It should be minimum 8, preferably 10.
A quick fix is to rename the directory
/home/pi/.config/signalk-server-node/node_modules/
That will disable all the plugins.
Sent from my iPhone using Tapatalk