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.

Angular 9 app fails to load

See original GitHub issue

0.6.0 and Angular 9.0.7 ng serve’d app fails to load (partial callstack):

core.js:6185 ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'type' of undefined
TypeError: Cannot read property 'type' of undefined
    at Module.ɵɵNgOnChangesFeature (core.js:26816)
    at query-builder.component.js:1284
    at Module../node_modules/angular2-query-builder/dist/angular2-query-builder/esm5/lib/query-builder/query-builder.component.js (query-builder.component.js:1313)
    at __webpack_require__ (bootstrap:84)
    at Module../node_modules/angular2-query-builder/dist/angular2-query-builder/esm5/public-api.js (public-api.js:1)
    at __webpack_require__ (bootstrap:84)
    at Module../node_modules/angular2-query-builder/dist/angular2-query-builder/esm5/angular2-query-builder.js (angular2-query-builder.js:1)
    at __webpack_require__ (bootstrap:84)

This suggest that rebuilding the library with --prod and latest Angular may solve the problem.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
phaniindracommented, Mar 23, 2020

Any update on the issue still facing the same problem

0reactions
AccessViolatorcommented, Jun 4, 2020

BTW, when source code is included directly into ng 9 project it works fine with Ivy, so again, the problem is with how it’s packaged into the library

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular 9.x Application Doesn't Load in IE11 - Stack Overflow
Generally, just setting the ` "target": "es5"` in the tsconfig.json file will load the app in the IE browser. If you are not...
Read more >
Why your Angular App is not Working: 11 common Mistakes
Why your Angular App is not Working: 11 common Mistakes · 1. Import required Angular Modules · 2. Don't use DOM references before...
Read more >
Identify and Fix Build and Deployment Errors in Your Angular ...
In this guide, you will learn how to spot some of the most common build and deployment errors and how to resolve them...
Read more >
Router tutorial: tour of heroes - Angular
In this tutorial, you build upon a basic router configuration to explore features such as child routes, route parameters, lazy load NgModules, guard...
Read more >
Angular 9 for Beginners — How to Install Your First App with ...
Step 1: Install NPM (Node Package Manager) · Step 2: Install Angular CLI · Step 3: Create a new Angular Project · Step...
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