-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Closed
Copy link
Description
Not able to update angular cli and other packages. It is giving error of dependency. Please check. I'm aware of this issue has been already logged in this link but it is solved or not. If it is solved then how can we update the packages can you tell please.
These i need to update
ng update
Using package manager: 'npm'
Collecting installed dependencies...
Found 43 dependencies.
We analyzed your package.json, there are some packages to update:
Name Version Command to update
--------------------------------------------------------------------------------
@angular/cdk 8.1.3 -> 8.1.4 ng update @angular/cdk
@angular/cli 8.3.0 -> 8.3.2 ng update @angular/cli
@angular/material 8.1.3 -> 8.1.4 ng update @angular/material
and when i am updating getting this error.
ng update --all
Using package manager: 'npm'
Collecting installed dependencies...
Found 43 dependencies.
Package "@angular-devkit/build-angular" has an incompatible peer dependency to "typescript" (requires ">=3.1 < 3.6", would install "3.6.2")
Package "@angular/core" has an incompatible peer dependency to "zone.js" (requires "~0.9.1", would install "0.10.2").
Package "@angular/compiler-cli" has an incompatible peer dependency to "typescript" (requires ">=3.4 <3.6", would install "3.6.2").
Incompatible peer dependencies found.
Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together.
You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later.
and when i updating angular/cli alone then getting this error
ng update @angular/cli
Using package manager: 'npm'
Collecting installed dependencies...
Found 43 dependencies.
Fetching dependency metadata from registry...
Package "ag-grid-angular" has an incompatible peer dependency to "@angular/core" (requires ">=2.1.x" (extended),
would install "9.0.0-next.4").
Package "ag-grid-angular" has an incompatible peer dependency to "@angular/compiler" (requires ">=2.1.x" (extended), would install "9.0.0-next.4").
Incompatible peer dependencies found.
Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together.
You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later.
Metadata
Metadata
Assignees
Labels
No labels