Sign In
Sign In

You can find the step-by-step deployment guide here.

For Angular versions 16 and below, the default build output path does not include the browser/ directory. Make sure to remove browser/ from the build path when configuring the deployment.

When deploying an Angular project, the build environment runs the following commands by default:

DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y --no-install-recommends \
  curl \
  {% if system_dependencies %}{{ system_dependencies | join(' ') }}{% endif %} \
  && rm -rf /var/lib/apt/lists/*

npm install -g @angular/cli@latest

Here, system_dependencies refers to the system packages configured in the control panel.

After that, project dependencies are installed using the package manager detected in the repository (yarn, pnpm, or npm):

yarn install
pnpm install
npm install
Was this page helpful?
Updated on 15 May 2024

Do you have questions,
comments, or concerns?

Our professionals are available to assist you at any moment,
whether you need help or are just unsure of where to start.
Email us
Hostman's Support