我已阅读以下博客和文档
并且没有关于如何从 4.x 迁移到 5 的明确信息。
尝试了以下命令
npm 安装
npm install @angular/{animations,common,compiler,compiler-cli, core,forms,http,platform-browser,platform-browser-dynamic, platform-server,router}@5.0.0
纱线安装
yarn add @angular/{animations,common,compiler,compiler-cli, core,forms,http,platform-browser,platform-browser-dynamic, platform-server,router}@5.0.0
试过更新指南
npm install @angular/animations@'^5.0.0' @angular/common@'^5.0.0' @angular/compiler@'^5.0.0' @angular/compiler-cli@'^5.0.0' @angular/core@'^5.0.0' @angular/forms@'^5.0.0' @angular/http@'^5.0.0' @angular/platform-browser@'^5.0.0' @angular/platform-browser-dynamic@'^5.0.0' @angular/platform-server@'^5.0.0' @angular/router@'^5.0.0' typescript@2.4.2 rxjs@'^5.5.2' npm install typescript@2.4.2 --save-exact
没有什么对我有用。请帮忙