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.
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.
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...
I'll look into this.
Also seeing this with eslint: warning "[email protected]" has incorrect peer dependency "ajv@>=4.10.0".
+1
I've receive the same warning installing gulp "[email protected]" has incorrect peer dependency "ajv@>=5.0.0"
.
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.
Facing same issue when installing new package.
Merging this into #4433 since the report is more comprehensive.
Most helpful comment
I'll look into this.