This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Output from ocpn to N2K
#3
(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
Reply


Messages In This Thread
Output from ocpn to N2K - by Celestine - 2019-11-02, 04:44 PM
Output from ocpn to N2K - by tkurki - 2019-11-03, 08:07 AM
RE: Output from ocpn to N2K - by Celestine - 2019-11-03, 12:02 PM
RE: Output from ocpn to N2K - by tkurki - 2019-11-03, 08:09 PM
RE: Output from ocpn to N2K - by Celestine - 2019-11-04, 10:46 AM
RE: Output from ocpn to N2K - by Celestine - 2019-11-16, 06:05 PM
RE: Output from ocpn to N2K - by jim321 - 2019-11-04, 01:02 PM
RE: Output from ocpn to N2K - by Celestine - 2019-11-17, 08:23 PM
RE: Output from ocpn to N2K - by verkerkbr - 2019-12-16, 11:31 AM
RE: Output from ocpn to N2K - by Celestine - 2019-12-19, 04:22 PM
RE: Output from ocpn to N2K - by verkerkbr - 2019-12-19, 04:56 PM
RE: Output from ocpn to N2K - by Celestine - 2019-12-19, 05:29 PM
RE: Output from ocpn to N2K - by verkerkbr - 2019-12-20, 12:19 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)