You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running create-react-app 0.7.0 with Yarn installed, Yarn prints a warning about unmet peer dependencies. However, despite the warning the app is created successfully, it works and subsequent yarn install commands don't show this warning.
Expected behavior
No warnings about peer dependencies should be printed when running create-react-app.
Looks like a bug in Yarn – it doesn't consider the packages installed at the same time when looking for peer dependencies. I tried this (without using create-react-app):
> mkdir test
> cd test
> yarn init -y
...
> yarn add react react-dom
yarn add v0.17.10
info No lockfile found.
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
warning Unmet peer dependency "react@^15.4.1".
I guess I'll close since this is a known issue in Yarn, and keeping it open here doesn't change anything. We still track it in the umbrella task. #1189
Description
When running
create-react-app
0.7.0 with Yarn installed, Yarn prints a warning about unmet peer dependencies. However, despite the warning the app is created successfully, it works and subsequentyarn install
commands don't show this warning.Expected behavior
No warnings about peer dependencies should be printed when running
create-react-app
.Actual behavior
Following warnings are printed:
Environment
Operating system: macOS 10.12.1
Browser and version: N/A
The text was updated successfully, but these errors were encountered: