我正在尝试使用此命令在 Angular2 中使用 npm 安装引导程序
npm install --save ng2-bootstrap
但是我在控制台中收到以下错误和警告
+-- UNMET PEER DEPENDENCY @angular/common@2.0.0-rc.5
+-- UNMET PEER DEPENDENCY @angular/compiler@2.0.0-rc.5
+-- UNMET PEER DEPENDENCY @angular/core@2.0.0-rc.5
+-- UNMET PEER DEPENDENCY @angular/forms@0.3.0
+-- ng2-bootstrap@1.1.1
`-- UNMET PEER DEPENDENCY webpack@^1.9.11
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.14
npm WARN extract-text-webpack-plugin@1.0.1 requires a peer of webpack@^1.9.11 but none was installed.
npm WARN ng2-bootstrap@1.1.1 requires a peer of @angular/common@2.0.0-rc.6 but none was installed.
npm WARN ng2-bootstrap@1.1.1 requires a peer of @angular/compiler@2.0.0-rc.6 but none was installed.
npm WARN ng2-bootstrap@1.1.1 requires a peer of @angular/core@2.0.0-rc.6 but none was installed.
npm WARN ng2-bootstrap@1.1.1 requires a peer of @angular/forms@2.0.0-rc.6 but none was installed.