ng upgrade command fails for upgrading cli from v7 to v8

浪尽此生 提交于 2019-12-05 18:08:13

try upgrading all packages using ng update --all --force if this doesn't work then try upgrading core and CLI ng update @angular/core @angular/cli.

and still not working then install typescript manually using npm i typescript@3.4

Like answer above, force the update, but in my case typescript@latest doesn't work because angular requires typescipt@3.4. If you force all it install 3.5 version and you must downgraded it

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