Closed elvirdolic closed 2 years ago
The issue appears to be that due to set of dependencies the node_modules
directory is about 2Gb in size which of course takes time to download, install and link.
Installing all the @angular/
, @angular-devkit/
packages only takes about 50s with the size of directory node_modules
of around 380Mb.
Therefore this doesn't appear to be any issue with Angular packages.
Yeah as I wrote it takes 2-3 minutes with @angular/cli: 13.1.4
just updating the version to 13.2.0, without any other changes it takes 9-10 minutes. That’s fully reproduce able on our CI build.
Using only official Angular packages version 3.2 the installation time is below a minute. This can also be observed when using ng new
.
I suggest using yarns —verbose
to analyse what is actually causing the problem.
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.
🐞 Bug report
Yarn install takes 3x more time to finish installation and move on
Command (mark with an
x
)yarn install
Is this a regression?
yes: works normal till version 13.2.0
Description
Upgrading from 13.1.4 to 13.2.0 yarn takes ~9-10 minutes On 13.1.4 it takes 2-3 minutes for our repo
🔬 Minimal Reproduction
Not sure if that can be reproduced but here is a list of packages used, same packages just upgrade of angular-cli makes yarn install slower.
🔥 Exception or Error
🌍 Your Environment
Azure Devops Hosted Build Agent.