を使用して、私は '反応し、DND' インストールしようと取得しています:満たされていないPEER依存WebPACKのロールアップ
+を - [email protected] ` - 1 @満たされていないPEERの依存関係のWebPACK || 2 ||^2.1.0-beta ||^2.2.0-rc
npm WARN [email protected]には、webpack @ 1 ||のピアが必要です。 2 || ^ 2.1.0-beta ||^2.2.0-rcがインストールされていませんでした。
私のプロジェクトには、ロールアップを使用しているといないのWebPACK、私はこれを処理する方法がわからないです。 私のNPMバージョン:4.1.2 私のpackage.json:
{
"name": "newx",
"version": "0.1.0",
"private": true,
"dependencies": {
"react": "^15.4.2",
"react-dnd": "^2.4.0",
"react-dnd-html5-backend": "^2.4.1",
"react-dom": "^15.4.2",
"react-redux": "^5.0.0",
"redux": "^3.6.0"
},
"devDependencies": {
"babel-core": "^6.25.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.0.15",
"babel-plugin-transform-react-constant-elements": "^6.0.14",
"babel-plugin-transform-runtime": ">= 6.8.0",
"babel-preset-env": "^1.2.2",
"babel-preset-es2015": "^6.0.15",
"babel-preset-react": "^6.0.15",
"babel-preset-stage-2": "^6.24.1",
"chalk": "^1.1.3",
"express": "^4.15.2",
"fs-extra": "^0.30.0",
"minimatch": "^3.0.3",
"mkdirp": "^0.5.1",
"ncp": "^2.0.0",
"node-getopt": "^0.2.3",
"node-notifier": "^5.0.2",
"node-sass": "^4.5.0",
"prop-types": "^15.5.10",
"rollup": "^0.41.6",
"rollup-plugin-babel": "^2.7.1",
"rollup-plugin-commonjs": "^8.0.2",
"rollup-plugin-node-globals": "^1.1.0",
"rollup-plugin-node-resolve": "^2.0.0",
"rollup-plugin-replace": "^1.1.1",
"rollup-plugin-uglify": "^1.0.1",
"rollup-pluginutils": "^1.3.1",
"uglify-js": "github:mishoo/UglifyJS2#harmony"
},
"scripts": {
"build": "node scripts/rollup-watch.js",
"build-release": "node scripts/rollup-watch.js --release --rebuild",
"watch": "node scripts/rollup-watch.js --watch",
"dev-server": "node scripts/dev-server.js"
}
}
は、誰も私がこれを明確に助けることはできますか?
npm install webpack
とWebPACKのインストール? – Amalin