Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/webpack/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Node.js 解决peerDependencies警告?_Node.js_Webpack - Fatal编程技术网

Node.js 解决peerDependencies警告?

Node.js 解决peerDependencies警告?,node.js,webpack,Node.js,Webpack,我有一个React+网页包项目,当我安装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 bu

我有一个React+网页包项目,当我安装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.
$npm安装
通知单-blanche@0.2.1需要webpack@>=1=1=1的对等方