小编Hri*_*ika的帖子

Npm对等依赖性错误

我使用npm install命令重复获取npm peer依赖性错误.这是我的package.json,我对react和webpack有未满足的对等依赖

    npm WARN react-datepicker@0.25.0 requires a peer of react@^0.14.0 but none was installed.
    npm WARN babel-loader@6.2.4 requires a peer of webpack@1 || ^2.1.0-beta but none was installed.
    npm WARN desktop-react@1.0.0 No repository field.
    npm WARN desktop-react@1.0.0 license should be a valid SPDX license expression
Run Code Online (Sandbox Code Playgroud)

{
  "name": "xxxxxxxxx",
  "version": "x.x.x",
  "description": "",
  "main": "index.js",
  "author": "",
  "license": "xxxxxxx",
  "dependencies": {
    "bootstrap": "^3.3.6",
    "fs": "0.0.2",
    "history": "^1.17.0",
    "immutable": "^3.8.1",
    "isomorphic-fetch": "^2.2.1",
    "lodash": "^4.11.1",
    "moment": "^2.13.0",
    "react": "^15.0.1",
    "react-autosuggest": "^3.7.3",
    "react-bootstrap": …
Run Code Online (Sandbox Code Playgroud)

node.js npm package.json

9
推荐指数
1
解决办法
6630
查看次数

标签 统计

node.js ×1

npm ×1

package.json ×1