Angular 9 app fails to load
See original GitHub issue0.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:
- Created 4 years ago
- Comments:10 (2 by maintainers)
Top 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 >
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
Any update on the issue still facing the same problem
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