Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Wrong error message during ng update #208

Open
mwaibel-go opened this issue Nov 17, 2022 · 0 comments
Open

Wrong error message during ng update #208

mwaibel-go opened this issue Nov 17, 2022 · 0 comments

Comments

@mwaibel-go
Copy link

$ ng update @angular/core@14 @angular/cli@14
The installed Angular CLI version is outdated.
Installing a temporary Angular CLI versioned 14.2.9 to perform the update.
✔ Package successfully installed.
Using package manager: npm
Collecting installed dependencies...
Found 0 dependencies.
Package '@angular/core' is not a dependency.

@angular/core is listed in my package.json (so I consider it a dependency), but the node_modules directory was missing. Running npm i solved the issue.

I suggest that the error message read something like “Package '@angular/core' is not installed.”

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant