Do you want to request a feature or report a bug?
Bug
What is the current behavior?
A lot of incorrect peer dependencies when installing globally @angular/cli
If the current behavior is a bug, please provide the steps to reproduce.
➜ ~ yarn global add @angular/cli
yarn global v1.0.2
warning package.json: No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
info [email protected]: The platform "linux" 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 "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 "webpack-sources@>= 1.0.0".
warning "[email protected]" has incorrect peer dependency "less@^2.3.1".
warning "[email protected]" has incorrect peer dependency "webpack@^2.0.0 || ^3.0.0".
warning "[email protected]" has incorrect peer dependency "node-sass@^4.0.0".
warning "[email protected]" has incorrect peer dependency "webpack@^2.0.0 || >= 3.0.0-rc.0 || ^3.0.0".
warning "[email protected]" has incorrect peer dependency "stylus@>=0.52.4".
warning "@ngtools/[email protected]" has incorrect peer dependency "webpack@^2.2.0 || ^3.0.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 "webpack@^2.2.0 || ^3.0.0".
warning "[email protected]" has incorrect peer dependency "file-loader@*".
warning "@schematics/[email protected]" has incorrect peer dependency "@angular-devkit/[email protected]".
warning "[email protected]" has incorrect peer dependency "ajv@>=5.0.0".
warning "[email protected]" has incorrect peer dependency "webpack@^1.9 || ^2 || ^2.1.0-beta || ^2.2.0-rc || ^3.0.0".
[4/4] Building fresh packages...
success Installed "@angular/[email protected]" with binaries:
- ng
Done in 10.01s.
What is the expected behavior?
All the dependencies have to be correct
Please mention your node.js, yarn and operating system version.
➜ ~ node -v
v8.5.0
➜ ~ yarn -v
1.0.2
➜ ~ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
This should be fixed with the latest nightly. Reopen if not please.
I created new angular application using angular/cli and whenever yarn add any new packages , it warns that "@schematics/[email protected]" has incorrect peer dependency "@angular-devkit/[email protected]".
node -v : v8.9.0
yarn -v: 1.3.2
Most helpful comment
I created new angular application using angular/cli and whenever yarn add any new packages , it warns that "@schematics/[email protected]" has incorrect peer dependency "@angular-devkit/[email protected]".
node -v : v8.9.0
yarn -v: 1.3.2