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
Black screen
#3
(2018-12-02, 09:49 PM)e-sailing Wrote: You can disable signalk by:
sudo systemctl disable signalk.service
sudo systemctl disable signalk.socket
sudo reboot
If system restarts open a terminal
cd /usr/lib/node-module/signalk-server
npm start
Now it should show you the error.

Code:
pi@openplotter:~ $ sudo systemctl disable signalk.service
Removed /etc/systemd/system/multi-user.target.wants/signalk.service.
pi@openplotter:~ $ sudo systemctl disable signalk.socket
Removed /etc/systemd/system/sockets.target.wants/signalk.socket.
pi@openplotter:~ $ sudo reboot

and then:

Code:
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:~ $


sudo nano /home/pi/.npm/_logs/2018-12-05T11_28_47_009Z-debug.log


Code:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ]
2 info using npm@6.4.1
3 info using node@v8.12.0
4 verbose config Skipping project config: /home/pi/.npmrc. (matches userconfig)
5 verbose stack Error: ENOENT: no such file or directory, open '/home/pi/packag$
6 verbose cwd /home/pi
7 verbose Linux 4.14.79-v7+
8 verbose argv "/usr/bin/node" "/usr/bin/npm" "start"
9 verbose node v8.12.0
10 verbose npm  v6.4.1
11 error path /home/pi/package.json
12 error code ENOENT
13 error errno -2
14 error syscall open
15 error enoent ENOENT: no such file or directory, open '/home/pi/package.json'
16 error enoent This is related to npm not being able to find a file.
17 verbose exit [ -2, true ]

always black screen.......

tnks
Reply


Messages In This Thread
Black screen - by cepicscepics - 2018-12-02, 01:50 PM
RE: Black screen - by e-sailing - 2018-12-02, 09:49 PM
RE: Black screen - by cepicscepics - 2018-12-05, 12:38 PM
RE: Black screen - by e-sailing - 2018-12-05, 09:01 PM
Black screen - by tkurki - 2018-12-05, 06:24 PM
RE: Black screen - by cepicscepics - 2018-12-05, 09:44 PM
RE: Black screen - by e-sailing - 2018-12-05, 11:43 PM
RE: Black screen - by cepicscepics - 2018-12-06, 12:40 AM
RE: Black screen - by cepicscepics - 2018-12-06, 11:43 AM
RE: Black screen - by cepicscepics - 2018-12-06, 06:51 PM
RE: Black screen - by cepicscepics - 2018-12-08, 10:46 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)