Coworker and I are trying to figure out why compilation times are different. We have the same exact Dell Laptop 7030 model, same SSD, same hard drive, same memory, specs. Our task manager process look similar.
Corporate orders the identical model computers.
We are downloading from Angular Git Repository, with config and package json, with same node size memory.
Question is, Initial build between our laptops is 2 min compared to 8 min.
When we edit a single word in same file, his only takes 5 seconds to recompile, my takes 20 seconds. Only programs running on the identical computer is Angular command ng serve.
Does anyone have ideas to resolve this issue, and slow compile time?
Is there anything I can change in my work station to the compile speed similar?
Attemped the solutions for all coworkers, still slow
- We have same Node.js versions
- updated from Angular 8 to 10 in Company Project Git Repo
- tried
npm cache clear
- attempted Uninstalling and Reinstalling Angular and Nodejs
- ScanDisk from Windows does not show errors on SSD drive
- compared package-lock.json with coworker, they are the exact same, compared in source control diff
- turned on Windows Defender Exclusion on the Angular Git Folder
Resources:
How to speed up the Angular build process
Update:
Just noticed my laptop really stalls on styles.scss file at 48%