You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2020. It is now read-only.
In our project we are using this angular datatable https://github.com/swimlane/ngx-datatable in version before 10.1.0, because this is using typescript 2.4.x which does not work with latest ionic.
So if we use version 10.0.5 or 9.3.1 with your latest app-scripts running a production build for android ionic cordova run android --prod
we get this error on importing
import { NgxDatatableModule } from '@swimlane/ngx-datatable';
imports: [
IonicModule,
NgxDatatableModule,
on an module
ERROR Error: Uncaught (in promise): TypeError: o is not a function
TypeError: o is not a function
at 4.js:1
at Object../node_modules/rxjs/util/UnsubscriptionError.js (4.js:1)
at t (4.js:1)
at Object../node_modules/rxjs/Subscription.js (4.js:1)
at t (4.js:1)
at Object../node_modules/rxjs/Subscriber.js (4.js:1)
at t (4.js:1)
at Object../node_modules/rxjs/util/toSubscriber.js (4.js:1)
at t (4.js:1)
at Object../node_modules/rxjs/Observable.js (4.js:1)
at t (4.js:1)
at Object../node_modules/rxjs/add/observable/fromEvent.js (4.js:1)
at t (4.js:1)
at Object../src/datatable.module.ts (4.js:1)
at t (4.js:1)
at Object../src/index.ts (4.js:1)
at t (4.js:1)
at 4.js:1
at 4.js:1
at n (4.js:1)
at Object.865 (4.js:1)
at e (vendor.js:1)
at Object.562 (4.js:1)
at e (vendor.js:1)
at main.js:1
at t.invoke (polyfills.js:3)
at Object.onInvoke (vendor.js:1)
at t.invoke (polyfills.js:3)
at r.run (polyfills.js:3)
at polyfills.js:3
at t.invokeTask (polyfills.js:3)
at Object.onInvokeTask (vendor.js:1)
at t.invokeTask (polyfills.js:3)
at r.runTask (polyfills.js:3)
at o (polyfills.js:3)
at <anonymous>
at 4.js:1
at Object../node_modules/rxjs/util/UnsubscriptionError.js (4.js:1)
at t (4.js:1)
at Object../node_modules/rxjs/Subscription.js (4.js:1)
at t (4.js:1)
at Object../node_modules/rxjs/Subscriber.js (4.js:1)
at t (4.js:1)
at Object../node_modules/rxjs/util/toSubscriber.js (4.js:1)
at t (4.js:1)
at Object../node_modules/rxjs/Observable.js (4.js:1)
at t (4.js:1)
at Object../node_modules/rxjs/add/observable/fromEvent.js (4.js:1)
at t (4.js:1)
at Object../src/datatable.module.ts (4.js:1)
at t (4.js:1)
at Object../src/index.ts (4.js:1)
at t (4.js:1)
at 4.js:1
at 4.js:1
at n (4.js:1)
at Object.865 (4.js:1)
at e (vendor.js:1)
at Object.562 (4.js:1)
at e (vendor.js:1)
at main.js:1
at t.invoke (polyfills.js:3)
at Object.onInvoke (vendor.js:1)
at t.invoke (polyfills.js:3)
at r.run (polyfills.js:3)
at polyfills.js:3
at t.invokeTask (polyfills.js:3)
at Object.onInvokeTask (vendor.js:1)
at t.invokeTask (polyfills.js:3)
at r.runTask (polyfills.js:3)
at o (polyfills.js:3)
at <anonymous>
at c (polyfills.js:3)
at Object.reject (polyfills.js:3)
at e._fireError (vendor.js:1)
at e._failed (vendor.js:1)
at vendor.js:1
at t.invoke (polyfills.js:3)
at Object.onInvoke (vendor.js:1)
at t.invoke (polyfills.js:3)
at r.run (polyfills.js:3)
at polyfills.js:3
at t.invokeTask (polyfills.js:3)
at Object.onInvokeTask (vendor.js:1)
at t.invokeTask (polyfills.js:3)
at r.runTask (polyfills.js:3)
at o (polyfills.js:3)
at <anonymous>
If we do your workaround from changelog doing only ionic cordova run android --aot --minifyJs --minifyCss
instead of --prod anything is fine
Short description of the problem:
In our project we are using this angular datatable https://github.com/swimlane/ngx-datatable in version before 10.1.0, because this is using typescript 2.4.x which does not work with latest ionic.
So if we use version 10.0.5 or 9.3.1 with your latest app-scripts running a production build for android
ionic cordova run android --prodwe get this error on importing
on an module
If we do your workaround from changelog doing only
ionic cordova run android --aot --minifyJs --minifyCssinstead of
--prodanything is fineWhich @ionic/app-scripts version are you using?