Error in '~/decorator/columns/column.js', line 43: 'getMetadataArgsStorage().columns.add is not a function'
Hi fellas,
Everything works fine when am working in the browser. But when I use ionic run android --device --prod (production code), the app launches but only shows white screen and nothing else.
When I attach the device to Chrome and inspect the console logs from Chrome://inspect, I see the error, 'i().columns.add is not a function'. I traced it to this file, '~/decorator/columns/column.js' and realised getMetadataArgsStorage().columns is of type PropertyMetadataArgsCollection but doesn't have the add() function.
Anyone have some ideas how to resolve this? The app works flawlessly when I deploy it without the --prod switch.
Thanks.
I'll need a few days to take the tests.
Thanks sidneycorreia. Actually, I am using your fork https://github.com/sidneycorreia/ionic-orm, but I did not find a way to submit this issue, that's why I posted it here instead - in BradyLiles'. Am glad you replied and hope we can resolve this issue.
@sidneycorreia Some news about this problem?
@sidneycorreia Some news about this problem?
I am still having this problem, any help?
I have a same problem, when i test on device, got this error : Uncaught TypeError: Object [object Array] has no method 'add'