**npm WARN** codelyzer@3.2.2 requires a peer of @angular/compiler@^2.3.1 || >=4.0.0-beta <5.0.0 but none is installed. You must install peer dependencies yourself.
**npm WARN** codelyzer@3.2.2 requires a peer of @angular/core@^2.3.1 || >=4.0.0-beta <5.0.0 but none is installed. You must install peer dependencies yourself.
**npm WARN** @angular/router@3.2.4 requires a peer of @angular/core@2.2.4 but none is installed. You must install peer dependencies yourself.
**npm WARN** @angular/router@3.2.4 requires a peer of @angular/common@2.2.4 but none is installed. You must install peer dependencies yourself.
**npm WARN** @angular/router@3.2.4 requires a peer of @angular/platform-browser@2.2.4 but none is installed. You must install peer dependencies yourself.
**npm WARN** @angular/router@3.2.4 requires a peer of rxjs@5.0.0-beta.12 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/compiler@2.2.4 requires a peer of @angular/core@2.2.4 but none is installed. You must install peer dependencies yourself.
**npm WARN** @angular/compiler-cli@2.3.0 requires a peer of @angular/compiler@2.3.0 but none is installed. You must install peer dependencies yourself.
**npm WARN** @angular/platform-browser-dynamic@2.3.0 requires a peer of @angular/compiler@2.3. but none is installed. You must install peer dependencies yourself.
**npm WARN** optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules/fsevents):
**npm WARN** notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"ia32"})发布于 2017-11-30 08:54:50
它说,您应该在2.3.1到4.0.0之间安装了@ar角/编译器版本。角度/核心模块和其他模块相同。查看您的package.json文件,它已经安装了所有模块的列表及其版本。如果您尚未安装所有模块,那么在npm install中运行terminal.You可以通过使用npm install -g @angular/cli@latest使用最新版本。(你可以使用任何版本,比如写@(版本号),比如@2.5.5 )。也许this帖子是有帮助的
https://stackoverflow.com/questions/47569180
复制相似问题