You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, I used ng update to upgrade angular from v12 to v13, and there is no issue
Description
when I use yarn ng update @angular/core@14 @angular/cli@14 --force --verbose
I got
Locating potential npmrc files:
Using package manager: npm
Collecting installed dependencies...
Found 0 dependencies.
Package '@angular/core' is not a dependency.
error Command failed with exit code 1.
🔬 Minimal Reproduction
I use yarn v1.22.7 instead of npm
yet log show ng update picked npm:
Using package manager: npm
I also use child packages, instead of root, while all 3rd packages installed on root
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Yes, I used ng update to upgrade angular from v12 to v13, and there is no issue
Description
when I use yarn ng update @angular/core@14 @angular/cli@14 --force --verbose
I got
Locating potential npmrc files:
Using package manager: npm
Collecting installed dependencies...
Found 0 dependencies.
Package '@angular/core' is not a dependency.
error Command failed with exit code 1.
🔬 Minimal Reproduction
I use yarn v1.22.7 instead of npm
yet log show ng update picked npm:
Using package manager: npm
I also use child packages, instead of root, while all 3rd packages installed on root
root/package.json
{
"dependencies": {
"@angular/core": "^13.0.1",
...
},
"workspaces": [
"packages/*"
]
}
root/packages/angular-app/package.json
root/packages/angular-app/angular.json
🔥 Exception or Error
🌍 Your Environment
Anything else relevant?
The text was updated successfully, but these errors were encountered: