alerta / alerta-webui

Alerta Web UI 7.0
https://try.alerta.io
Apache License 2.0
109 stars 55 forks source link

alerta-webui doesn't install on node 18 or above #573

Open Matthew-Jenkins opened 10 months ago

Matthew-Jenkins commented 10 months ago

Issue Summary Unable to compile alerta on node 18, which is the oldest still supported version of node.

Environment

To Reproduce Steps to reproduce the behavior:

  1. Install node 18 or 20
  2. clone alerta-webui
  3. npm install

npm install will fail due to multiple no longer maintained libs not working on node18

Expected behavior npm install should exit 0

Screenshots

Additional context Looks like dependency hell. I tried doing a quick and dirty uplift to vuetify latest w/ vite but the best I could get is a white screen with nothing displayed after about 12 hours of work.

crocchietta commented 9 months ago

Good morning. The latest version of web-ui is almost 2 years old. I also tried to compile it but I get many errors or other security alerts. Is this project dead? Has anyone managed to compile it with a recent environment?

hyberdk commented 9 months ago

Hi @crocchietta,

Yeah the UI could use some TLC. @headphonejames did a push to upgrade to Vue3, but I did not try it out myself. Unfortunately I am not really a frontend dev, so I am pretty useless in that area..

if you want to check it out, its this branch: https://github.com/alerta/alerta-webui/tree/update-vue2-to-vue3

Any help here would be appreciated Im sure :-)

I do compile the UI from code, when building my docker container, but yes there are many warnings and such.. not ideal..

Esben