Angular Cli build command very slow to commence

让人想犯罪 __ 提交于 2021-01-29 11:00:30

问题


I am wondering if there is a log file for this. All of a sudden when I issue any ng command like ng --version or ng build it takes a long time to actually start, sometimes 10 minutes. Just yesterday, there was no time delay at all.

This is the version I have and am using Angular 5:

Angular CLI: 1.6.5
Node: 8.9.4
npm 5.6.0
OS: win32 x64

I am somewhat puzzled as I don't understand what has changed all of a sudden.


回答1:


This problem occurs when there is problem in your node libraries. I had same issue i solved it by uninstalling node and i install it again also updated angular core and cli. This solved my problem may be this will solve your issue.



来源:https://stackoverflow.com/questions/52231905/angular-cli-build-command-very-slow-to-commence

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!