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

Fix the path to the node-red executable for the admin init #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SpieringsAE
Copy link

The path to node-red is not /usr/bin/ but /usr/local/bin/, fix this path to correct an error at the end

Copy link

linux-foundation-easycla bot commented Jan 14, 2025

CLA Signed


The committers listed above are authorized under a signed CLA.

@dceejay
Copy link
Member

dceejay commented Jan 15, 2025

which OS and platform is this on please... The usual install from the script installs npm in /usr/bin/ so this is something specific to your environment.

@SpieringsAE
Copy link
Author

SpieringsAE commented Jan 15, 2025

hmm interesting, this is on debian bookworm (12) with npm and nodejs from the bookworm repository

edit: I will do some more testing tomorrow to maybe find a more universal way to run this

@dceejay
Copy link
Member

dceejay commented Jan 15, 2025

which versions of nodejs and npm does that give you ?
We found the ones from the main repo are usually rarely updated so miss many security updates.
(They may have fixed this more recently but if so I am unaware of that change of support)

@SpieringsAE
Copy link
Author

debian bookworm currently ships:
node: v18.19.0
npm: 9.2.0

which is still quite old, then again, bookworm is almost 2 years old already.

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

Successfully merging this pull request may close these issues.

2 participants