【发布时间】:2019-05-27 11:39:11
【问题描述】:
我尝试通过在终端中运行 ng update @angular/cli @angular/core 将核心框架和 CLI 的 Angular 项目从版本 7.2.5 更新到 8。
来自终端的响应是“我们分析了您的 package.json,一切似乎都井井有条。干得好!'
我的版本列表:
$ ng version
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 7.3.9
Node: 11.14.0
OS: darwin x64
Angular: 7.2.15
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package Version
------------------------------------------------------------
@angular-devkit/architect 0.13.9
@angular-devkit/build-angular 0.13.9
@angular-devkit/build-ng-packagr 0.13.9
@angular-devkit/build-optimizer 0.13.9
@angular-devkit/build-webpack 0.13.9
@angular-devkit/core 7.3.9
@angular-devkit/schematics 7.3.9
@angular/cdk 7.3.7
@angular/cli 7.3.9
@angular/material 7.3.7
@ngtools/json-schema 1.1.0
@ngtools/webpack 7.3.9
@schematics/angular 7.3.9 (cli-only)
@schematics/update 0.13.9
ng-packagr 5.2.0
rxjs 6.5.2
typescript 3.2.4
webpack 4.29.0
【问题讨论】:
-
据angular.io/guide/releases#support-policy-and-schedule报道,目前还没有稳定的8.0版本,只有beta版。
标签: angular angular-cli angular-upgrade