I just tried a little experiment; I cloned my lw.comm-server onto my Fedora35 development machine and ran npm install
to see what would happen. Fedora 35 defaults to Node16 and NPM8
NPM install worked
So I then ran node server
and, after an initial failure (npm io is not standard on fF35, I had to run node install io
), the server started and ran successfully. So I plugged in a spare GRBL-mega board I have lying around, and verified that comms are working and I could talk to the controller. Everything worked perfectly.
I thought I’d mention here because I’m pretty happy with this; it means lw-comm server builds and runs on Node16 without issues, and this is good since 16 is a LTS release.
[owen@hobbes lw.comm-server]$ node server
***************************************************************
---- LaserWeb Comm Server 4.1.000 ----
***************************************************************
Use http://10.0.0.101:8000 to connect to this server.
* Updates:
Remember to check the commit log on
https://github.com/LaserWeb/lw.comm-server/commits/master
regularly, to know about updates and fixes, and then when ready
update accordingly by running git pull
* Support:
If you need help / support, come over to
https://forum.makerforums.info/c/laserweb-cncweb/78
***************************************************************
Server binding to all local IP addresses on port: 8000
App connected! (id=0)
Connect (0) Sending Interfaces list: USB,ESP8266,Telnet
INFO: Requesting Server Config
Connect(0) Sending Ports list: [<snip>]
INFO: Connecting to USB,/dev/ttyUSB1,115200
Sent: \n
INFO: Connected to /dev/ttyUSB1 at 115200
GRBL detected (1.1f)
^C
[owen@hobbes lw.comm-server]$ cat /etc/fedora-release
Fedora release 35 (Thirty Five)
[owen@hobbes lw.comm-server]$ node -v
v16.13.0
[owen@hobbes lw.comm-server]$ npm -v
8.1.0
NB: attempting to rebuild LW4 itself on this system fails during the npm install
with a whole bunch of errors when compiling serialport. SInce serialport isnt a direct dependency I assume that another dependency is dragging it in, probably at a very early version… I’m not going to pursue this further at this time.