-
Notifications
You must be signed in to change notification settings - Fork 64
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
Debian installer not working correctly with bookworm #40
Comments
Maybe an issue of the nodejs installer: nodesource/distributions#1583 or nodesource/distributions#1579 |
Sounds like a great moment to set nodejs 18 as default in the node red installer? |
Has RaspiOS released a version on bookworm yet ? (or did you do a manual upgrade ?) Workaround is to specify the nodejs version on the command line by adding |
@dceejay I've upgraded my Raspberry Pi 4 manually to Bookworm. But this is an issue on every debian installation
Of course, but it is still not possible to install the recommended default version (node 16). |
bookworm has it's own version of node18 in it's default repo - so although we ass the nodesource repo to the sources it then default to "latest" so picks the node18 version... and the debian one does not include npm and so it all goes bad. Also as noted RaspiOS has not yet moved to bookworm so yes while it's an issue for those that manually upgrade or install from debian direct it shouldn't bite everyone right now. The proper fix as you suggest is to move our default to node18 and indeed I am testing that as we speak - but was hoping to release that along with the next version of core Node-RED (3.1)... |
Just to note the work-around for Debian bookworm users, if you're installing using the bash+curl script (see: https://nodered.org/docs/getting-started/raspberrypi ) run the update-nodejs-and-nodered installer as follows: bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) --node18 Tested on:
|
latest version of script now defaults to 18 so should now work ok |
5 attempts now... Clean install of "Bookworm" on RPI4 using Raspberry Pi Imager. Then tried running install using script with and without --node18 suffix. |
Just add the linux-installers/deb/update-nodejs-and-nodered Lines 395 to 399 in 2aea30a
@mugginsjm Can you share the content of |
Hi. content is: Adding suffix --node18 gives the same result thanks |
script was updated yesterday (1/Jan/24) - should now be fixed. |
That's great... working now |
System info
Log
The text was updated successfully, but these errors were encountered: