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

ionic --prod flag causes issue #17

Open
bolivir opened this issue Sep 27, 2017 · 1 comment
Open

ionic --prod flag causes issue #17

bolivir opened this issue Sep 27, 2017 · 1 comment

Comments

@bolivir
Copy link

bolivir commented Sep 27, 2017

Hi,

There is a problem when adding the prod flag to the ionic cordova run android command.
The following error appears: columns.add is not a function

If i run the command with the --aot flag its working as expected, so i think there is a problem with the minify that happens by the --prod command.

@francosang
Copy link

I was having a similar problem using --prod flag. My case was different:

SQLError {code: 5, message: "could not prepare statement (23 not authorized)"}

The couse of my issue was during the creation of the tables. Logging the queries I realised that the name of the tables was empty.
Almost sure your case is related to something else, but I could solve mine definnig the table name in the decorator of each entity:

@Table('player')

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

2 participants