Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular 10 taking so long to build #18854

Closed
1 of 15 tasks
veritem opened this issue Sep 23, 2020 · 5 comments
Closed
1 of 15 tasks

Angular 10 taking so long to build #18854

veritem opened this issue Sep 23, 2020 · 5 comments
Labels
needs: more info Reporter must clarify the issue

Comments

@veritem
Copy link

veritem commented Sep 23, 2020

馃殌 Feature request

Command (mark with an x)

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • xi18n
  • run
  • config
  • help
  • version
  • doc

Performance issues with Angular CLI

Hello, I have an angular 10 code base but angular CLI takes so long to build I have tried to search what is causing the issue but nothing to seem to work. My laptop speed is just fine and what wrong?

Describe the solution you'd like

Make angular CLI builds even more faster

@alan-agius4 alan-agius4 added the needs: more info Reporter must clarify the issue label Sep 23, 2020
@alan-agius4
Copy link
Collaborator

Hi @makuzaverite,

Unfortunately without more information, and a reproduction it's hard for us to investigate this issue and determine a root cause.

In the meantime I'd like to understand what you are experiencing better, can you please answer the below?

  • Can you also elaborate on what do you mean by taking long to build, are we talking 2mins, 5mins, 15mins etc?
  • Is it slow on the first cold build or all builds?
  • Has the speed regressed from previous versions?
  • Can you provide the output of ng version?

@veritem
Copy link
Author

veritem commented Sep 23, 2020

  • The build time takes 10+ mins
  • It is slow on the first build
  • No this is my new laptop I have installed angular few month ago

angulargear

@alan-agius4
Copy link
Collaborator

alan-agius4 commented Sep 23, 2020

Kindly try to update to the latest stable version using the below command.

ng update @angular/cli @angular/core

This should help reduce the the time spent by NGCC to transform the packages. More context: angular/angular#38840

@alan-agius4
Copy link
Collaborator

Closing as no further info provided.

If the problem persists after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Oct 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs: more info Reporter must clarify the issue
Projects
None yet
Development

No branches or pull requests

2 participants