Angular Generator requirements

Official Content
This documentation is valid for:

Below is a list of the requirements for generating and running Angular applications in your development environment, and for running Angular applications in your production environment.

Development Environment Requirements

  GeneXus Version     Angular Version   Node.js Version
v18 u5 ~16.0.0 ^18.10.0
v18 u4 ~16.0.0   ^18.10.0   
v18 u3 ~15.1.2    ^14.20.0  ||  ^16.13.1  ||  ^18.10.0   
v18 u2 ~15.1.2 ^14.20.0  ||  ^16.13.1  ||  ^18.10.0
v18 u1 ~14.2.2 ^14.15.0  ||  ^16.10.0
v18 ~14.2.2 ^14.15.0  ||  ^16.10.0

 

For Angular Applications Development, your development environment should include the following:

  • Node.js

Get Node.js from nodejs.org (download the LTS version). After installing Node.js, check your version by running the following command in a terminal/console window:

node -v
  • npm package manager

For the environment setup, npm packages will be installed (automatically) using the npm client command line interface, so you must have an npm package manager. Node.js includes it by default. Therefore, after installing Node.js, check that you have the npm client installed by running the following command in a terminal/console window (npm version should be 7 or higher):

npm -v​​​​


Note: Node.js is only required for development. It is not required for production.

See also How to execute an app using Angular Generator.

Production Environment requirements

The generated Angular frontend only requires an HTTP server. It can be IIS, Apache, or even an AWS S3 bucket or any object storage service with HTTP(s) access.

See also:

Browser support

For best performance, Angular applications fully leverage modern browsers.

They require browsers that support the es6-module, basically:

  • Browsers on Chromium engine, such as:
    • Google Chrome
    • Microsoft Edge
  • Firefox
  • Safari
  • Opera

Note: Internet explorer is not supported.

FAQ

Q: Why is Node.js required for development?
A: To accelerate development cycles. The server updates pages automatically, without the need for extra compilation times.
Look at the npm and ng commands of this page for more details.

Q: If I work with more than one version of GeneXus, how do I install more than one node version?
A: To install and work with more than one version of Node, you need to install Node Version Manager (nvm) first.