Skip to content
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

Needed packages are not available anymore during installation #1

Closed
KroPIixx opened this issue Jan 8, 2024 · 7 comments
Closed

Needed packages are not available anymore during installation #1

KroPIixx opened this issue Jan 8, 2024 · 7 comments

Comments

@KroPIixx
Copy link

KroPIixx commented Jan 8, 2024

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
Copy link
Owner

firien commented Jan 11, 2024

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

@KroPIixx
Copy link
Author

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

@firien
Copy link
Owner

firien commented Jan 19, 2024

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

  • npm install
  • node server.js

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

@firien
Copy link
Owner

firien commented Jan 25, 2024

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

see: nathankellenicki/node-poweredup#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
Copy link
Author

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
Copy link
Owner

firien commented Jan 26, 2024

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
Copy link
Owner

firien commented Jan 27, 2024

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

@firien firien closed this as completed Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants