At postinstall ngcc throw "imports|entry-points" errors on 3th party lib.
By example with angular-tree-component and ngx-virtual-scroller 3th party lib.
Angular CLI: 8.0.0-beta.10
Node: 11.12.0
OS: win32 x64
Angular: 8.0.0-beta.10
animations, cli, common, compiler, compiler-cli, core, forms,
language-service, platform-browser, platform-browser-dynamic, router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.800.0-beta.10
@angular-devkit/build-angular 0.800.0-beta.10
@angular-devkit/build-optimizer 0.800.0-beta.10
@angular-devkit/build-webpack 0.800.0-beta.10
@angular-devkit/core 8.0.0-beta.10
@angular-devkit/schematics 8.0.0-beta.10
@ngtools/webpack 8.0.0-beta.10
@schematics/angular 8.0.0-beta.10
@schematics/update 0.800.0-beta.10
rxjs 6.4.0
typescript 3.3.4000
webpack 4.29.6
🐞 bug report
Affected Package
Caused by packages/compiler-cli/ngcc/src/packages/dependency_resolver.ts
Description
At postinstall ngcc throw "imports|entry-points" errors on 3th party lib.
By example with angular-tree-component and ngx-virtual-scroller 3th party lib.
🔬 Minimal Reproduction
Simply run command:
ng new ap --minimal --defaults --skipInstall --enable-ivy && cd ap && npm i angular-tree-component && npm i ngx-virtual-scroller && npm installAt postinstall console will throw for
angular-tree-component : Entry point 'angular-tree-component' contains deep imports into 'lodash/*...
ngx-virtual-scroller : Error: There is no format with import statements in 'C:/.../node_modules/ngx-virtual-scroller' entry-point.
🌍 Your Environment
cc @filipesilva
update1: improve issue style