I tried to compile the application with

npm run build

However, my server freezes and I am unable to see the reason why the compilation is not done. Even the website (another webserver) stopped showing the page.

I tried

npm run build --verbose

no luck. And I had to reboot the machine.

After updating upgrading (Linux) with

sudo apt-get update
sudo apt-get upgrade

and upgrading npm 9.2 -> 9.3 and node 10.0 to node 18.4, finally I was allowed to see what is going on:

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory

I think there was a substantial upgrade between 9.2 and 9.3, because now I am able to see my website while building my web-app:

info  - Linting and checking validity of types ...

yee it works !… hopefuly it will run. Worst case scenario, buying more ram 🙁