从npm安装东西时出错 **npm警告**codelyzer@3.2.2需要@angular/compiler@^2.3.1|124;>=4.0.0-beta=4.0.0-beta

从npm安装东西时出错 **npm警告**codelyzer@3.2.2需要@angular/compiler@^2.3.1|124;>=4.0.0-beta=4.0.0-beta,npm,Npm,它说您应该安装介于2.3.1和4.0.0之间的@angular/compiler版本。角度/核心模块和其他模块也是如此。查看您的package.json文件,它包含安装的所有模块及其版本的列表。如果尚未安装所有模块,请在终端中运行npm install。您可以使用npm install-g@angular使用最新版本/cli@latest。(你可以在最后写@(版本号)如@2.5.5使用任何版本)。也许这篇文章有帮助请编辑你的文章,使其易读。描述您的具体尝试(例如,包括您尝试执行的命令)。 **n

它说您应该安装介于2.3.1和4.0.0之间的@angular/compiler版本。角度/核心模块和其他模块也是如此。查看您的package.json文件,它包含安装的所有模块及其版本的列表。如果尚未安装所有模块,请在终端中运行
npm install
。您可以使用
npm install-g@angular使用最新版本/cli@latest
。(你可以在最后写@(版本号)如@2.5.5使用任何版本)。也许这篇文章有帮助

请编辑你的文章,使其易读。描述您的具体尝试(例如,包括您尝试执行的命令)。
**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"})