Categories
Development

Ionic App Crashing at Launchin on Android

I was building my Ionic app many times without any problem, suddenly, I changed PC and re-built the app, then it crashed. Android Version:8.0.0 Here is my ionic info output Ionic: ionic (Ionic CLI) : 4.10.3 (C:\Users\developer\AppData\Roaming\npm\node_modules\ionic) Ionic Framework : @ionic/angular 4.11.7 @angular-devkit/build-angular : 0.12.4 @angular-devkit/schematics : 7.2.4 @angular/cli : 7.2.4 @ionic/angular-toolkit : 1.4.1 Cordova: […]

Categories
Development

“An accessor cannot be declared in an ambient context.” in a custom library

I have a webpack, typescript project (A) which emits a small library. The library is used in an angular 8 project (B). In project A I declare a class like: export class Foo { private foo: string; constructor(foo: string) { this.foo = foo; } } export class Bar extends Foo { private bla: string; constructor(foo: […]

Categories
Development

Error Uncaught (in promise): TypeError: Object(…) is not a function

Whenever I start my angular app I have this error: ERROR Error: Uncaught (in promise): TypeError: Object(…) is not a function TypeError: Object(…) is not a function at default~app-app-module~9ca28b07.js:4519 at Module../node_modules/cdk-table-exporter/fesm5/cdk-table-exporter.js (default~app-app-module~9ca28b07.js:4521) at __webpack_require__ (bootstrap:83) at Module../node_modules/mat-table-exporter/fesm5/mat-table-exporter.js (default~app-app-module~9ca28b07.js:5013) at __webpack_require__ (bootstrap:83) at Module../src/app/app-material.module.ts (default~app-app-module~9ca28b07.js:36901) at __webpack_require__ (bootstrap:83) at Module../src/app/app.module.ts (it.js:47) at __webpack_require__ (bootstrap:83) at main-wqrng.js?v=92fb42:43 […]

Categories
Angular Development

Angular 7 IE11 not working. Getting SCRIPT1002 Syntax Error vendor.js

I’m running an Angular 7 application and I’m trying to run it in IE11 and its showing me this error: “SCRIPT1002: Syntax error ” “vendor.js” and the web page shows as a blank page. In other browsers its working fine. I have tried with uncomment polyfills and also tried with adding below line in index.html […]