question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ng update: The specified command update is invalid.

See original GitHub issue

what is current equivalent of ng update? because it does not work; I followed #4679 and got this message, another issue #4304 with the same problem was just closed with no explanation. can we please get some of that, explanation?

screen shot 2018-01-26 at 21 51 46

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

29reactions
marcjcommented, May 28, 2018

Wait, what? Since when has this been removed? The official update guide at https://update.angular.io/ stills shows it.

screen shot 2018-05-28 at 20 23 04

21reactions
SiddAjmeracommented, Jul 4, 2018

Was getting the same error. So I then ran npm install --save-dev @angular/cli@latest

And after that, when I ran ng update @angular/cli, it automatically created angular.json, deleted .angular-cli.json and updated karma.conf.js, src/tsconfig.spec.json, package.json, and tslint.json

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgrade Angular 5 to 6 - Medium
Angular 6 comes with new cli command ng update to upgrade your current project. ... The specified command update is invalid.
Read more >
Angular `ng add` is invalid. For available options, see `ng help`
The specified command add is invalid. For available options, see ng help . What could be wrong? angular.
Read more >
ng update - Angular
Description. Perform a basic update to the current stable release of the core framework and CLI by running the following command.
Read more >
How To Update Angular CLI To Latest Version
First Update your Angular app to Angular 9. Then use ng update command. Angular CLI version check. Before updating check the Angular version ......
Read more >
Angular CLI - ng help Command - Tutorialspoint
Angular CLI - ng help Command, This chapter explains the syntax and ... Runs unit tests in a project. update Updates your application...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found