2018-12-05, 09:44 PM
(This post was last modified: 2018-12-05, 09:57 PM by cepicscepics.)
(2018-12-05, 06:24 PM)tkurki Wrote: I can not think of a way that SK server causes a black screen. It is most probably something else.
Anything in syslog?
Sent from my iPhone using Tapatalk
I think the output of
sudo nano /var/log/syslog
is too long to post here!!!
(2018-12-05, 09:01 PM)e-sailing Wrote:(2018-12-05, 12:38 PM)cepicscepics Wrote:Sorry wrong pathCode:pi@openplotter:~ $ cd /usr/lib/node-module/signalk-server
bash: cd: /usr/lib/node-module/signalk-server: No such file or directory
pi@openplotter:~ $ npm start
npm ERR! path /home/pi/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2018-12-05T11_28_47_009Z-debug.log
pi@openplotter:~ $
cd /usr/lib/node-module/signalk-server
it should be
cd /usr/lib/node_modules/signalk-server
try again
btw: Are you sure that your raspberry pi works with another sd card?
the new output:
Code:
pi@openplotter:~ $ cd /usr/lib/node_modules/signalk-server
pi@openplotter:/usr/lib/node_modules/signalk-server $ npm start
> signalk-server@1.7.0 start /usr/lib/node_modules/signalk-server
> node bin/signalk-server
Using default configuration path: /home/pi/.signalk
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
events.js:183
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE :::10110
at Server.setupListenHandle [as _listen2] (net.js:1360:14)
at listenInCluster (net.js:1401:12)
at Server.listen (net.js:1485:7)
at Object.api.start (/usr/lib/node_modules/signalk-server/lib/interfaces/nmea-tcp.js:57:12)
at /usr/lib/node_modules/signalk-server/lib/index.js:325:60
at /usr/lib/node_modules/signalk-server/node_modules/lodash/lodash.js:4911:15
at Function.forIn (/usr/lib/node_modules/signalk-server/node_modules/lodash/lodash.js:12951:11)
at startInterfaces (/usr/lib/node_modules/signalk-server/lib/index.js:311:5)
at /usr/lib/node_modules/signalk-server/lib/index.js:224:7
at createServer (/usr/lib/node_modules/signalk-server/lib/index.js:274:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! signalk-server@1.7.0 start: `node bin/signalk-server`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the signalk-server@1.7.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2018-12-05T20_41_31_627Z-debug.log
tnks