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

Dependency warnings when using create-react-app #4342

Closed
ffxsam opened this issue Sep 7, 2017 · 9 comments
Closed

Dependency warnings when using create-react-app #4342

ffxsam opened this issue Sep 7, 2017 · 9 comments
Assignees

Comments

@ffxsam
Copy link

ffxsam commented Sep 7, 2017

yarn 1.0.1
node 6.11.2

Installing react-scripts (or making a React app via create-react-app) spits out a ton of dependency warnings. This didn't occur in yarn 0.x.

warning "[email protected]" has incorrect peer dependency "babel-core@6 || 7 || ^7.0.0-alpha || ^7.0.0-beta || ^7.0.0-rc".
warning "[email protected]" has incorrect peer dependency "webpack@2 || 3".
warning "[email protected]" has incorrect peer dependency "eslint@>=2.0.0".
warning "[email protected]" has incorrect peer dependency "[email protected] - 4.x".
warning "[email protected]" has incorrect peer dependency "eslint@>=1.6.0 <5.0.0".
warning "[email protected]" has incorrect peer dependency "eslint@^2.10.2 || ^3 || ^4".
warning "[email protected]" has incorrect peer dependency "eslint@^3.0.0 || ^4.0.0".
warning "[email protected]" has incorrect peer dependency "webpack@^3.1.0".
warning "[email protected]" has incorrect peer dependency "webpack@1 || ^2 || ^2.1.0-beta || ^2.2.0-rc || ^3".
warning "[email protected]" has incorrect peer dependency "file-loader@*".
warning "[email protected]" has incorrect peer dependency "webpack@^1 || ^2 || ^2.1.0-beta || ^2.2.0-beta || ^3".
warning "[email protected]" has incorrect peer dependency "webpack@1 || 2 || 3".
warning "[email protected]" has incorrect peer dependency "webpack@^2.2.0 || ^3.0.0".
warning "[email protected]" has incorrect peer dependency "ajv@>=5.0.0".
warning "[email protected]" has incorrect peer dependency "ajv@>=4.10.0".
warning "[email protected]" has incorrect peer dependency "webpack@^1.9 || ^2 || ^2.1.0-beta || ^2.2.0-rc || ^3.0.0".
warning "[email protected]" has incorrect peer dependency "babel-runtime@^6.23.0".
warning "[email protected]" has incorrect peer dependency "webpack@^1.0.0 || ^2.0.0 || ^3.0.0".
warning "[email protected]" has incorrect peer dependency "react@^15.6.1".
warning "[email protected]" has incorrect peer dependency "babel-eslint@^7.2.3".
warning "[email protected]" has incorrect peer dependency "eslint@^4.1.1".
warning "[email protected]" has incorrect peer dependency "eslint-plugin-flowtype@^2.34.1".
warning "[email protected]" has incorrect peer dependency "eslint-plugin-import@^2.6.0".
warning "[email protected]" has incorrect peer dependency "eslint-plugin-jsx-a11y@^5.1.1".
warning "[email protected]" has incorrect peer dependency "eslint-plugin-react@^7.1.0".
[4/4] 📃  Building fresh packages...
success Saved lockfile.
success Saved 911 new dependencies.
@jquense
Copy link

jquense commented Sep 7, 2017

I'm seeing this as well on a lot of repos as well especially monorepos (some with workspaces), as far as I can tell the errors from yarn are incorrect.

@jharris4
Copy link

jharris4 commented Sep 8, 2017

just noticed this on a bunch of repos as well after upgrading to 1.x. These errors from yarn are indeed incorrect, looks like #2387 and #2688 got worse with 1.x...

@BYK
Copy link
Member

BYK commented Sep 8, 2017

I'll look into this.

@artlogic
Copy link

artlogic commented Sep 8, 2017

Also seeing this with eslint: warning "[email protected]" has incorrect peer dependency "ajv@>=4.10.0".

@codering
Copy link

+1

@mikaelbalin
Copy link

I've receive the same warning installing gulp "[email protected]" has incorrect peer dependency "ajv@>=5.0.0".

@MrBlaise
Copy link

Having this issue as well! Reading the logs they are clearly incorrect my app has rxjs@^5.0.1 installed but it complains for every package that I miss it for example.

@roon83
Copy link

roon83 commented Sep 15, 2017

Facing same issue when installing new package.

@BYK
Copy link
Member

BYK commented Sep 15, 2017

Merging this into #4433 since the report is more comprehensive.

@BYK BYK closed this as completed Sep 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants