question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

  1. angular-tree-component : Entry point ‘angular-tree-component’ contains deep imports into 'lodash/*…

  2. 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:closed
  • Created 4 years ago
  • Reactions:19
  • Comments:66 (28 by maintainers)

github_iconTop GitHub Comments

7reactions
seanlandsmancommented, Apr 10, 2019

@petebacondarwin I’m the author of ag-grid-angular - please let me know if I can help with this

6reactions
bendg25commented, May 4, 2019
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found