Angular update一直在尝试安装下一个版本,而不是生产版本
我正在尝试对Angular(8.0.4->8.3.3)进行版本更新。当我尝试这样做时,CLI会尝试安装9.0.0-next。5 我试着搜索,看看我是否打开了某种“使用RC”标志或其他东西,但我找不到任何关于它的信息Angular update一直在尝试安装下一个版本,而不是生产版本,angular,command-line-interface,Angular,Command Line Interface,我正在尝试对Angular(8.0.4->8.3.3)进行版本更新。当我尝试这样做时,CLI会尝试安装9.0.0-next。5 我试着搜索,看看我是否打开了某种“使用RC”标志或其他东西,但我找不到任何关于它的信息 Name Version Command to update --------------------------------------------------------------
Name Version Command to update
---------------------------------------------------------------------------------
@angular/cli 8.0.4 -> 8.3.3 ng update @angular/cli
@angular/core 8.1.2 -> 8.2.5 ng update @angular/core
rxjs 6.5.2 -> 6.5.3 ng update rxjs
C:\ProjAngular\SupervisionServices>ng update@angular/cli
您的全局Angular CLI版本(8.2.0)高于本地版本
版本(8.0.4)。使用本地CLI版本
To disable this warning use "ng config -g cli.warnings.versionMismatch false".
Using package manager: 'yarn'
Collecting installed dependencies...
Found 48 dependencies.
Fetching dependency metadata from registry...
Package "devextreme-angular" has an incompatible peer dependency to "@angular/forms" (requires ">5.0.0", would install "9.0.0-next.5").
Package "@fortawesome/angular-fontawesome" has an incompatible peer dependency to "@angular/common" (requires "^6.0.0 || ^7.0.0" (extended), would install "9.0.0-next.5").
Package "@fortawesome/angular-fontawesome" has an incompatible peer dependency to "@angular/core" (requires "^6.0.0 || ^7.0.0" (extended), would install "9.0.0-next.5").
Package "ngx-cookie-service" has an incompatible peer dependency to "@angular/platform-browser-dynamic" (requires ">=4.2.0", would install "9.0.0-next.5").
Package "ngx-cookie-service" has an incompatible peer dependency to "@angular/platform-browser" (requires ">=4.2.0", would install "9.0.0-next.5").
Package "tsickle" has an incompatible peer dependency to "typescript" (requires "~3.4.1", would install "3.5.3").
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.
我以前从未见过这种情况,从V2开始我就一直在使用Angular。如果需要特定版本,请添加
--from
和--to
标记。有趣的事实:谷歌运行在一个近乎实时的主副本上。很稳定,不用担心 如果需要特定版本,请添加--from
和--to
标记。有趣的事实:谷歌运行在一个近乎实时的主副本上。很稳定,不用担心 你说得对。谢谢,你说得对。非常感谢。