Skip to content
This repository has been archived by the owner on Aug 22, 2020. It is now read-only.

Error in '~/decorator/columns/column.js', line 43: 'getMetadataArgsStorage().columns.add is not a function' #10

Open
faatihi opened this issue Jul 8, 2017 · 6 comments

Comments

@faatihi
Copy link

faatihi commented Jul 8, 2017

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.

@sidneycorreia
Copy link

I'll need a few days to take the tests.

@faatihi
Copy link
Author

faatihi commented Jul 14, 2017

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.

@raniel90
Copy link

@sidneycorreia Some news about this problem?

1 similar comment
@raniel90
Copy link

@sidneycorreia Some news about this problem?

@darmie
Copy link

darmie commented Oct 9, 2017

I am still having this problem, any help?

@lucas207
Copy link

I have a same problem,
when i test on device, got this error :
Uncaught TypeError: Object [object Array] has no method 'add'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants