Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 872 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 872 Bytes

A minimalistic reproduction of the issue described in angular/angular#39282

It contains two vanilla Angular projects, each with one library. The library in the coreApp project is configured in ng-package.json to build into the local_modules folder, and its module imports @angular/common; the userApp project consumes the coreLib via npm from the local_modules folder.

Reproduction steps

  1. Open coreApp folder in terminal.
  2. Run npm install
  3. Run ng build coreLib.
  4. Open userApp folder in terminal.
  5. Run npm install.
  6. Run ng build userLib.
  7. The build fails with ERROR: Cannot resolve type entity i2.CommonModule to symbol.

Notes

In this case it fails on the CommonModule, but if you import any other Angular (or third party in general?) module, it fails with a similar message.