How to fix 'ng upgrade' error 'The specified command ("upgrade") is invalid'
Problem:
You want to run ng upgrade to update your angular project libraries, but you see this error message:
ng_update_error_output.txt
The specified command ("upgrade") is invalid. For a list of available options,
run "ng help".
Did you mean "update"?Solution
You need to run
example.sh
ng updateinstead of ng upgrade (which is not a valid command).
This is what Did you mean "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