Components: WARNING in ./node_modules/@angular/material/esm5/material.es5.js 41:0-371 "export '傻h21' was not found in '@angular/material/tabs'

Created on 5 Jun 2018  路  3Comments  路  Source: angular/components

This is happening in 6.2.1 again...

Most helpful comment

I had the same problem here, but found out that after upgrading a project from 6.0.2 to 6.2.1 I actually suddenly had a 6.0.0 version installed in node_modules.

Somehow (either through caching or whatever) yarn didn't install the correct package, even while yarn.lock file had all the correct version information.

After deleting node_modules and the yarn.lock file and doing a fresh install, I had the correct 6.2.1 package installed locally and everything was working fine.

All 3 comments

I had the same problem here, but found out that after upgrading a project from 6.0.2 to 6.2.1 I actually suddenly had a 6.0.0 version installed in node_modules.

Somehow (either through caching or whatever) yarn didn't install the correct package, even while yarn.lock file had all the correct version information.

After deleting node_modules and the yarn.lock file and doing a fresh install, I had the correct 6.2.1 package installed locally and everything was working fine.

Could reproduce the it in another project while upgrading from 6.2.0 to 6.2.1. While yarn.lock shows the following:

"@angular/material@^6.2.1":
  version "6.2.1"
  resolved "https://registry.yarnpkg.com/@angular/material/-/material-6.2.1.tgz#aec3387db755145b80d66d8497d4a834f88b61be"
  dependencies:
    tslib "^1.7.1"

node_modules still kept a version of 6.2.0 in the background - or possibly parts of it. Maybe some files were locked by i.e. VSCode and haven't been removed / replaced correctly.
Also I'm behind a corporate proxy, but I doubt caching problems there, because the whole download-url changes between versions.

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

LoganDupont picture LoganDupont  路  3Comments

3mp3ri0r picture 3mp3ri0r  路  3Comments

dzrust picture dzrust  路  3Comments

MurhafSousli picture MurhafSousli  路  3Comments

crutchcorn picture crutchcorn  路  3Comments