Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unmet dependencies warning during yarn install #24

Closed
filippsen opened this issue Jun 26, 2018 · 3 comments
Closed

Unmet dependencies warning during yarn install #24

filippsen opened this issue Jun 26, 2018 · 3 comments
Labels
bug Something isn't working debt

Comments

@filippsen
Copy link
Contributor

Environment/Browser

  • node v10.5.0
  • yarn 1.7.0
  • npm 6.1.0
  • Or simply via Docker image: node:latest (8753edeb1aa3)

Description

Unmet (missing?) dependencies warning during package installation.
The issue apparently hasn't been an offender in practice.
The warning is only flagged by yarn.

Steps to reproduce

yarn install

Expected result

Nothing.

Actual result

warning " > @fortawesome/[email protected]" has unmet peer dependency "prop-types@^15.5.10".
warning " > @fortawesome/[email protected]" has unmet peer dependency "react@^16.0.0".
warning " > [email protected]" has unmet peer dependency "webpack@^2.0.0 || ^3.0.0 || ^4.0.0".
warning " > [email protected]" has unmet peer dependency "react@>=0.14.0 || >15.0.0".
warning " > [email protected]" has unmet peer dependency "react@^15.x || ^16.x".

Reproducible

Can be consistently reproduced.

@filippsen filippsen added the bug Something isn't working label Jun 27, 2018
@filippsen
Copy link
Contributor Author

Same happens when doing npm install, just with a slightly different message:

npm WARN @fortawesome/[email protected] requires a peer of react@^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react@>=0.14.0 || >15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react@^15.x || ^16.x but none is installed. You must install peer dependencies yourself.

@filippsen
Copy link
Contributor Author

Additional dependencies were added since then:

warning " > [email protected]" has unmet peer dependency "react@^15.5.x || ^16.x".
warning " > [email protected]" has unmet peer dependency "react-dom@^15.5.x || ^16.x".

warning " > [email protected]" has unmet peer dependency "react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0".

warning " > [email protected]" has unmet peer dependency "babel-core@^6.0.0 || ^7.0.0-0".

warning " > [email protected]" has unmet peer dependency "babel-core@6 || 7 || ^7.0.0-alpha || ^7.0.0-beta || ^7.0.0-rc".

warning "preact-cli > [email protected]" has unmet peer dependency "babel-core@6".

This was referenced Nov 12, 2018
@javier-tarazaga
Copy link
Contributor

Solved in #210

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working debt
Projects
None yet
Development

No branches or pull requests

2 participants