openhab / openhabian

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

Frontail install failing #1597

Closed mstormi closed 2 years ago

mstormi commented 2 years ago

Some reports on the forum.

Reproduceable with a fresh install:

+ cd /opt/frontail
+ cond_redirect npm install --force -g
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ npm install --force -g \033[39;49;00m'

$ npm install --force -g
+ npm install --force -g
/opt/openhabian/functions/helpers.bash: Zeile 31: npm: Kommando nicht gefunden.
+ return 127
+ echo 'FAILED (install)'
FAILED (install)
+ return 1
+ '[' 1 -ne 0 ']'
+ whiptail --msgbox 'There was an error or interruption during the execution of:\n  "20 | Optional Components"\n\nPlease try again. If the error persists, please read /opt/openhabian/docs/openhabian-DEBUG.md or https://github.com/openhab/openhabian/blob/main/docs/openhabian-DEBUG.md how to proceed.' 14 80
+ return 0
mstormi commented 2 years ago

Frankly though I don't understand why npm all of a sudden got missing. Maybe some debian package dependency rework ?

mstormi commented 2 years ago

@ecdye fyi https://community.openhab.org/t/openhabian-frontail-install-error/39228/6 then again I guess that reinstalls npm just we do.