openhab / openhabian

openHABian - empowering the smart home, for Raspberry Pi and Debian systems
https://community.openhab.org/t/13379
ISC License
818 stars 251 forks source link

NodeJS newer than v14? #1722

Closed florian-h05 closed 1 year ago

florian-h05 commented 1 year ago

@mstormi While I was working on the addition of openhab & openhab_rules_tools to the openhabian-config tool, I noticed that openhabians node_is_installed check requires NodeJS v14.

As I am on v16 on my openHAB machine (a Debian machine that is using the openhabian-config tool), this causes me some inconvenience.

Is there any reason that we need NodeJS v14 or is it possible to update the check to also „allow“ newer version?

mstormi commented 1 year ago

I already updated nodejs install to have v16 installed. So I believe that check is a leftover that should be updated. I am not aware of other dependencies, but that is no warranty, I didn't do this coding and nodeJS is a constant source of problems so this should be properly tested before changing. Can you test and provide a PR ?

florian-h05 commented 1 year ago

I found the following dependencies of NodeJS:

JS Scripting is no NodeJS dependency, we just need npm to install and manage our Node packages.