When I install the latest angular packages available from npm, I get
_npm WARN @angular/[email protected] requires a peer of @angular/core@~4.4.4 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/[email protected] requires a peer of @angular/common@~4.4.4 but none is installed. You must install peer dependencies yourself._
My @angular/common and @angular/core versions are 5.0.2 - are you planning to support v5 soon?
I'm currently using @angular/[email protected] with @angular/core and @angular/common v5.0.2, without warning.
npm install. If the version of your packages is not fixed in pacage.json, it should install everything with the latest available version (you might not have the latest version of typescript for example)...Cheers
Confirmed same warning given @angular/* 5.0.3 with node v8.9.1 and npm 5.5.1:
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN @angular/[email protected] requires a peer of @angular/core@~4.4.4 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/[email protected] requires a peer of @angular/common@~4.4.4 but none is installed. You must install peer dependencies yourself.
As always, I ran rm -rf node_modules package-lock.json; npm i to get this.
@SamuelMarks Were there any issues running, or does the package (your app) simply fail after this?
@inthegarage No issues whatsoever. Just the warning.
@SamuelMarks @christian-vorhemus which version of typescript are you using ?
I had warnings until at least 2.3.4, but I don't get any warning anymore with 2.6.2
These warnings must be fixed, as packages with PEER dependency warnings cannot use NPM shrinkwrap or package-lock.json files.
Dup #508
are we gonna have rc version anytime soon?
@wilhelmhb Tried again just now, got:
npm WARN @angular/[email protected] requires a peer of @angular/core@~4.4.4 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/[email protected] requires a peer of @angular/common@~4.4.4 but none is installed. You must install peer dependencies yourself.
node 8.9.1 npm 5.5.1 tsc 2.6.2
Fixed with today's 2.0.0-beta.12 release. See SHA 62457a5972
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
These warnings must be fixed, as packages with PEER dependency warnings cannot use NPM shrinkwrap or package-lock.json files.