postinstall ivy ngcc error there is no format with import statements xxx entry-point
See original GitHub issue🐞 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 install
At 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
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
cc @filipesilva
update1: improve issue style
Issue Analytics
- State:
- Created 4 years ago
- Reactions:19
- Comments:66 (28 by maintainers)
Top Results From Across the Web
angular/angular - Gitter
hey guys... I'm building a library and consuming it in an angular app.... if I don't build the library as a library, but...
Read more >@Nrwl/Community
I've added root and feature state using nrwl ngrx schematics and it inserted all the ... but I get the error: Cannot use...
Read more >words.txt - Welcome Visitors
... been 752 using 750 was 749 data 748 out 745 no 742 things 741 through 738 most 736 way 736 content 734...
Read more >Browse Angular-ng-if Answers - Code Matcher
The Best Answers on web for Angular-ng-if and Community for Developers.
Read more >Govern Service is a lightweight, low-cost service registration ...
By using Redis in the existing infrastructure (I believe you have already deployed Redis), it doesn't need to bring extra to the operation ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@petebacondarwin I’m the author of ag-grid-angular - please let me know if I can help with this
and @swimlane/ngx-datatable’