2019-11-02, 04:44 PM
Hello,
I'm setting up a N2K network to work with OP/OCPN. I manage to get data from the network (Garmin transducers via Actisense NGT-1) to OCPN. I want to use the Garmin GNX20 to show data for an active route and possibly also have my Simrad TP32 to steer via SIMNET/N2K.
I see data flowing out from OCPN on the output UDP connection. I can also see corresponding data on the OP system port NMEA0183. How do I bring this data on to the N2K bus?
Tried to install signalk plugin signalk-nmea2000 from signalk admin.
Now OP refuse to start, I get the message "SignalK doesn't work! Openplotter will exit because it wasn't able to start SignalK"
Restarting the system doesn't help.
I get messages as below when I try to start OP in terminal.
Any help would be greatly appreciated!
Bestr regards,
Pär W
Signal K starting
/home/pi/.config/signalk-server-node/node_modules/@canboat/canboatjs/lib/fromPgn.js:289
const { data, direction, error, ...pgn } = parseYDRAW(pgn_data)
^^^
SyntaxError: Unexpected token ...
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
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)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/pi/.config/signalk-server-node/node_modules/@canboat/canboatjs/index.js:20:12)
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)
at Module.require (module.js:504:17)
Signal K starting
[Errno 111] Connection refused
/home/pi/.config/signalk-server-node/node_modules/@canboat/canboatjs/lib/fromPgn.js:289
const { data, direction, error, ...pgn } = parseYDRAW(pgn_data)
^^^
SyntaxError: Unexpected token ...
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
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)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/pi/.config/signalk-server-node/node_modules/@canboat/canboatjs/index.js:20:12)
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)
at Module.require (module.js:504:17)
[Errno 111] Connection refused
I'm setting up a N2K network to work with OP/OCPN. I manage to get data from the network (Garmin transducers via Actisense NGT-1) to OCPN. I want to use the Garmin GNX20 to show data for an active route and possibly also have my Simrad TP32 to steer via SIMNET/N2K.
I see data flowing out from OCPN on the output UDP connection. I can also see corresponding data on the OP system port NMEA0183. How do I bring this data on to the N2K bus?
Tried to install signalk plugin signalk-nmea2000 from signalk admin.
Now OP refuse to start, I get the message "SignalK doesn't work! Openplotter will exit because it wasn't able to start SignalK"
Restarting the system doesn't help.
I get messages as below when I try to start OP in terminal.
Any help would be greatly appreciated!
Bestr regards,
Pär W
Signal K starting
/home/pi/.config/signalk-server-node/node_modules/@canboat/canboatjs/lib/fromPgn.js:289
const { data, direction, error, ...pgn } = parseYDRAW(pgn_data)
^^^
SyntaxError: Unexpected token ...
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
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)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/pi/.config/signalk-server-node/node_modules/@canboat/canboatjs/index.js:20:12)
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)
at Module.require (module.js:504:17)
Signal K starting
[Errno 111] Connection refused
/home/pi/.config/signalk-server-node/node_modules/@canboat/canboatjs/lib/fromPgn.js:289
const { data, direction, error, ...pgn } = parseYDRAW(pgn_data)
^^^
SyntaxError: Unexpected token ...
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
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)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/pi/.config/signalk-server-node/node_modules/@canboat/canboatjs/index.js:20:12)
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)
at Module.require (module.js:504:17)
[Errno 111] Connection refused