PS C:\nodejs\Angular\Angular9\project\ang9-material-test> ng update @angular/cli @angular/core
Using package manager: 'npm'
Collecting installed dependencies...
Found 30 dependencies.
Fetching dependency metadata from registry...
Package '@angular/cli' is already up to date.
Package '@angular/core' is already up to date.
PS C:\nodejs\Angular\Angular9\project\ang9-material-test> ng update @angular/cli
Using package manager: 'npm'
Collecting installed dependencies...
Found 30 dependencies.
Fetching dependency metadata from registry...
Package '@angular/cli' is already up to date.
PS C:\nodejs\Angular\Angular9\project\ang9-material-test> ng update --all --update
Cannot specify packages when using the "all" option.
PS C:\nodejs\Angular\Angular9\project\ang9-material-test> install-peerdeps @angular/cdk
install-peerdeps v2.0.1
Installing peerdeps for @angular/cdk@latest.
npm install @angular/cdk@9.1.0 @angular/core@10.0.0 @angular/common@10.0.0 tslib@^1.9.0 --save --registry
https://registry.npmjs.com
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @angular/common@10.0.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\-\AppData\Roaming\npm-cache\_logs\2020-03-04T08_16_29_657Z-debug.log
ERR The install process exited with error code 1.
PS C:\nodejs\Angular\Angular9\project\ang9-material-test>
Partager