Flex-layout: Angular version support for 2.0.0-beta.10-4905443?

Created on 22 Nov 2017  路  11Comments  路  Source: angular/flex-layout

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?

P1 build

Most helpful comment

These warnings must be fixed, as packages with PEER dependency warnings cannot use NPM shrinkwrap or package-lock.json files.

All 11 comments

I'm currently using @angular/[email protected] with @angular/core and @angular/common v5.0.2, without warning.

  1. These are only warnings, it should still work fine. Thus, you can let it be for now, if you don't have an aversion for warnings
  2. Try deleting your node_modules folder, then run 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._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

intellix picture intellix  路  4Comments

nueko picture nueko  路  5Comments

Splaktar picture Splaktar  路  4Comments

manuelbachl picture manuelbachl  路  5Comments

Pikachews picture Pikachews  路  4Comments