firien / duplo-train

Control one or more Duplo trains
The Unlicense
3 stars 0 forks source link

Needed packages are not available anymore during installation #1

Closed KroPIixx closed 7 months ago

KroPIixx commented 8 months ago

It seems that several needed packages are not available anymore during installation. At the end the Server could not be started. I would like to setup such a train server, but I wasn't able to fix this issue - can someone help?

firien commented 8 months ago

I haven't booted this up in a while. did you try the newer node-16-update branch?

KroPIixx commented 8 months ago

Yes, now I have tried nearly every possible combination. Errors always occur during installation and certain packages cannot be found on GitHub.

firien commented 8 months ago

can you post your errors? and what system you are on?


I did a fresh clone of repo (on macOS 14.2.1, node v18.12.1) and was able to

without any issues on both main & node-16-update branch.

firien commented 7 months ago

node-20-update has added @abandonware/bluetooth-hci-socket dependency.

see: https://github.com/nathankellenicki/node-poweredup/issues/176

node-20-update branch currently defaults to port 3020, I will switch it back to port 3000 when merged.


FYI - I did just boot this up on a fresh new pi zero 2 W

KroPIixx commented 7 months ago

hi, I bought a new Pi Zero 2 W and got it running with Node 16. I think the problem is with the first generation PI Zero. Thank you!

firien commented 7 months ago

good to hear. But fyi this is more unstable than before. I ran this on node 8 on original pi zero for years without issue. It is crashing frequently now.

firien commented 7 months ago

I tagged the old stable node 8 code, if you want to try that on old pi zero w https://github.com/firien/duplo-train/releases/tag/pi-zero-w-node-8