如何修复 "ng upgrade" 错误 "The specified command ("upgrade") is invalid"
问题:
你想运行 ng upgrade 来更新你的 angular 项目库,但你看到此错误消息:
ng_update_error_output.txt
指定的命令 ("upgrade") 无效。有关可用选项列表,
运行 "ng help"。
你是说 "update" 吗?解决方案
你需要运行
ng_update.sh
ng update而不是 ng upgrade(这不是有效命令)。
This is what 你是说 "update" 吗? in the error message is intended to point you towards.
Check out similar posts by category:
Angular, Javascript
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow