-
-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type Error in Systemctl Status #1716
Comments
Never seen this before. What is your Node version? |
No feedback, closing. |
I have same sequence of errors on a new install, node version 18.19.0, rpi4, OS 6.6.31+rpt-rpi-v8. |
Please describe your system: what connections and inputs do you have? Active plugins? Can you include the error messages also. |
Bare rpi4 with no IO connections. apt package nodejs just installed. npm install -g signalk-server, then sudo signalk-server-setup: manage_sensors@bighat:~ $ sudo signalk-server-setup / | () __ _ _ __ __ _ | | | |/ / YOU ARE LOGGED IN AS manage_sensors AND THE SERVER WILL BE STARTED AS THIS USER ? Enter the location to store server configuration: /home/manage_sensors/.signal The Signal K default port is 3000 ? Do you want to use port 80? No Connections to :3000 hung indefinitely, and this appeared in 'journalctl -xe' output: Jun 26 13:30:21 bighat signalk-server[7672]: TypeError: Cannot read properties of undefined (reading 'ws') (repeating at 5s intervals). Repeating "sudo signalk-server-setup" answering No to SSL eliminated the problem, the server appears to work as expected given no configuration. |
Getting "TypeError: Cannot read properties of undefined (reading 'ws')" Is there somethign I can do to resolve it?
Apr 09 23:23:01 yachtwave-signalk signalk-server[548]: at listOnTimeout (node:internal/timers:569:17)
Apr 09 23:23:01 yachtwave-signalk signalk-server[548]: at process.processTimers (node:internal/timers:512:7)
Apr 09 23:23:06 yachtwave-signalk signalk-server[548]: TypeError: Cannot read properties of undefined (reading 'ws')
Apr 09 23:23:06 yachtwave-signalk signalk-server[548]: at Timeout._onTimeout (/usr/local/lib/node_modules/signalk-server/lib/deltastats.js:56:46)
Apr 09 23:23:06 yachtwave-signalk signalk-server[548]: at listOnTimeout (node:internal/timers:569:17)
Apr 09 23:23:06 yachtwave-signalk signalk-server[548]: at process.processTimers (node:internal/timers:512:7)
Apr 09 23:23:11 yachtwave-signalk signalk-server[548]: TypeError: Cannot read properties of undefined (reading 'ws')
Apr 09 23:23:11 yachtwave-signalk signalk-server[548]: at Timeout._onTimeout (/usr/local/lib/node_modules/signalk-server/lib/deltastats.js:56:46)
Apr 09 23:23:11 yachtwave-signalk signalk-server[548]: at listOnTimeout (node:internal/timers:569:17)
The text was updated successfully, but these errors were encountered: