我有一个React + WebPack项目,当我安装npm依赖项时,我得到一些关于不满意的peerDependencies的警告:
$ npm install
npm WARN carte-blanche@0.2.1 requires a peer of webpack@>=1 <3 but none was installed.
npm WARN carte-blanche-react-plugin@0.2.1 requires a peer of webpack@>=1 <3 but none was installed.
npm WARN carte-blanche-react-plugin@0.1.3 requires a peer of carte-blanche@^0.1.0 but none was installed.
npm WARN carte-blanche-react-plugin@0.1.3 requires a peer of webpack@>=1 <3 but none was installed.
npm WARN extract-text-webpack-plugin@1.0.1 requires a peer of webpack@^1.9.11 but none was installed.
npm WARN karma-webpack@1.7.0 requires a peer of webpack@^1.4.0 but none was installed.
npm WARN react-overlays@0.5.4 requires a peer of react-dom@^0.14.0 but none was installed.
npm WARN react-simpletabs@0.6.1 requires a peer of react@0.12.x - 1.x but none was installed.
一切都按预期工作,但我收到这些警告,我找不到解决问题的方法。
我尝试手动手动安装(例如)webpack,但没有任何改变。