-
Notifications
You must be signed in to change notification settings - Fork 12k
Impossible typescript Peer Dependencies #1681
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
Comments
Initially I got an error like that, but I upgraded from NPM 2 to NPM 3 and it worked (similar setup, but I am using Node.js 4.4.7). Additionally, I was doing an upgrade from the System JS Angular CLI for an already created app instead of a new app using this document. I still get messages when installing NPM packages like the above, but they are warnings not errors which does not prevent package installations. So you may want to check if NPM has not been properly upgraded to 3 and upgrade. Not a fix, but at least it may stop the above from being errors. |
In NPM 3 these are not errors but rather warnings. Unfortunately we didn't specify in the README that NPM 3 is needed, but this is fixed in #1748. |
I should note I'm on NPM 3.10.3 |
Odd, didn't think this would happen on npm 3. Will investigate more. |
This issue will be resolved via #3889 closing this issue in favor of that one. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Mac OSX El Capitan 10.11.6
angular-cli: 1.0.0-beta.11-webpack.2
node: 6.3.1
os: darwin x64
do on your code? etc.
Fresh installation of angular-cli@webpack
more information.
Currently is is impossible to install a version of typescript that pleases all dependencies of the cli. As you can see in the image above, tslint requires >=1.7.3 and @angular/tsc-wrapped requires ^1.9.0-dev (the -dev) preventing it from being a compatible version.
I'm assuming that this will be fixed when typescript 1.9.0 is released fully or updated to 2.0.0 but it's making for a very annoying reminder error. Is one peer dependency required more than another or not required at all?
The text was updated successfully, but these errors were encountered: