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

Link Node JS and Node "File exists" #318

Open
ukiews opened this issue Nov 16, 2023 · 5 comments
Open

Link Node JS and Node "File exists" #318

ukiews opened this issue Nov 16, 2023 · 5 comments

Comments

@ukiews
Copy link

ukiews commented Nov 16, 2023

When running:

sudo ln -s /usr/bin/nodejs /usr/bin/node

per https://github.com/abandonware/noble#prerequisites

I get:
ln: failed to create symbolic link '/usr/bin/node': File exists

Is this normal?
I am still trying to get BLE to work with the SwitchBot plugin on the RaspberryPi4

@rzr
Copy link

rzr commented Nov 16, 2023

This is a bad practice this should be changed in the documentation, which OS are you running ?

@ukiews
Copy link
Author

ukiews commented Nov 16, 2023

This is a bad practice this should be changed in the documentation, which OS are you running ?

Homebridge 1.7

@donavanbecker
Copy link

@ukiews, @rzr is asking for your Operating System not app that is using noble.

@ukiews
Copy link
Author

ukiews commented Nov 17, 2023

Sorry, I think you are looking for this:
Raspbian GNU/Linux Bullseye (11)
I'm running a standalone Homebridge server using the Raspberry Pi Imager.

@rzr
Copy link

rzr commented Nov 17, 2023

Please update documentation accordingly something like ( /usr/bin/node --version || sudo ln -s /usr/bin/nodejs /usr/local/bin/node)

if you want to use a different node than the default one, may you look at update-alternatives command too

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

3 participants