B
B
BonBon Slick2017-09-15 16:08:36
Node.js
BonBon Slick, 2017-09-15 16:08:36

What are the "has incorrect peer dependency" errors?

Every time I put the package, it pops up

C:\Users\BonBon\Code>yarn add aos --save
yarn add v1.0.2
[1/4] Resolving packages...
[2/4] Fetching packages...
info [email protected]: The platform "win32" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "[email protected]" has incorrect peer dependency "[email protected]^6.0.0".
warning "[email protected]" has incorrect peer dependency "[email protected] || 2 || ^2.1.0-beta || ^2.2.0-rc".
warning "[email protected]" has incorrect peer dependency "[email protected]^2".
warning "[email protected]" has incorrect peer dependency "[email protected]^1 || ^2 || ^3".
warning "[email protected]" has incorrect peer dependency "[email protected]^2.2.0".
warning "[email protected]" has incorrect peer dependency "[email protected]^2.3.1".
warning "[email protected]" has incorrect peer dependency "[email protected]^4.0.0".
warning "[email protected]" has incorrect peer dependency "[email protected]^2.0.0 || >= 3.0.0-rc.0 || ^3.0.0".
warning "[email protected]" has incorrect peer dependency "[email protected]*".
warning "[email protected]" has incorrect peer dependency "[email protected]^2.0.0".
warning "[email protected]" has incorrect peer dependency "[email protected]^2.2.0 || ^3.0.0".
warning "[email protected]" has incorrect peer dependency "[email protected]>=4.10.0".
warning "[email protected]" has incorrect peer dependency "[email protected]^1.0.0 || ^2.0.0 || ^3.0.0".
warning "[email protected]" has incorrect peer dependency "[email protected]^0.3.3".
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 4 new dependencies.
├─ [email protected]
├─ [email protected]
├─ [email protected]
└─ [email protected]

I do not understand what to configure?
"devDependencies": {
    "axios": "^0.15.3",
    "cross-env": "^3.2.3",
    "jquery": "^3.2.1",
    "laravel-mix": "0.*",
    "lodash": "^4.17.4",
    "vue": "^2.4.3"
  },
  "dependencies": {
    "aos": "^2.2.0",
    "bootstrap-v4-dev": "^4.0.0-alpha.6",
    "font-awesome": "^4.7.0",
    "jquery-ui-bundle": "^1.12.1",
    "tether": "^1.4.0"
  }

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question