【发布时间】:2017-02-17 06:18:30
【问题描述】:
我使用了 Angular 2 的 2.4 版。
出现了这个问题
(Uncaught ReferenceError: __ng_jsonp____req0_finished is not defined at)
我决定按照说明进行操作。
我想换成 2.3 版
npm install -g angular-cli@1.0.0-beta.17 --save-dev
我在终端输入了这个命令。
结果是一条错误消息
└─┬ angular-cli@1.0.0-beta.17
├── UNMET PEER DEPENDENCY @angular/compiler@2.4.7
├── UNMET PEER DEPENDENCY
@angular/compiler-cli@0.6.4
├── UNMET PEER DEPENDENCY
@angular/core@2.4.7
├── UNMET PEER DEPENDENCY
@angular/platform-server@2.4.7
├── UNMET PEER DEPENDENCY
@angular/tsc-wrapped@0.3.0
├── compression-webpack-plugin@0.3.2 (git://github.com/webpack/compression-webpack-plugin.git#7e55907cd54a2e91b96d25a660acc6a2a6453f54)
├── UNMET PEER DEPENDENCY
rxjs@5.0.0-beta.12
├── UNMET PEER DEPENDENCY
webpack@2.1.0-beta.25
└── UNMET PEER DEPENDENCY
zone.js@0.6.26
我想关闭 angular-cli。 我想再次安装 angulacli 2.3。
请告诉我过程
【问题讨论】:
标签: angular