quarkus-workshops
quarkus-workshops copied to clipboard
Building the angular app fails
I'm getting an error when following these instructions : https://quarkus.io/quarkus-workshops/super-heroes/#_optional_installing_the_web_application_on_quarkus
When executing
./node_modules/.bin/ng build --configuration production --base-href "."
I get :
Node.js version v10.16.3 detected.
The Angular CLI requires a minimum Node.js version of either v12.14 or v14.15.
Please update your Node.js version or visit https://nodejs.org/ for additional instructions.
Fixed by setting <node.version> to v12.22.12 in pom.xml
I guess ui-super-heroes/pom.xml in both zip files provided in https://github.com/quarkusio/quarkus-workshops/tree/main/quarkus-workshop-super-heroes/dist should have the node.version upgraded ?
Or maybe those zip files should be regenerated ? Indeed I see that https://github.com/quarkusio/quarkus-workshops/blob/main/quarkus-workshop-super-heroes/super-heroes/ui-super-heroes/pom.xml has been updated and is not aligned with the one provided in the zip files :)
Thanks for reporting, and for looking into it! I think #227 should fix the staleness in the zip files by regenerating them every time we change the code.
I'm planning to switch to using Quinoa for the node parts, which should fix any lingering node issues, and reduce the complexity.