I use ionic4 + angular8 code flow:

Error code:

Please help me. Thank you.
error code in here enter image description here
I use ionic4 + angular8 code flow:

Error code:

Please help me. Thank you.
error code in here enter image description here
You have written transaction but, I let you know that there is no property of transaction in SQLite plugin, you need to add write create property, whatever to open or create the database. like =>
this.sqlite.create({
name: 'data.db',
location: 'default'
})
.then((db: SQLiteObject) =>
db.executeSql('create table danceMoves(name VARCHAR(32))', [])
.then(() => console.log('Executed SQL'))
.catch(e => console.log(e));
})
.catch(e => console.log(e));
When you open or create db from sqlite , you should use executeSql after to execute query and take action with db. Sqlite for ionic 4 doesn't support transaction anymore. For more information and example
this.sqlite.create({
name: 'data.db',
location: 'default'
})
.then((db: SQLiteObject) => {
db.executeSql('create table danceMoves(name VARCHAR(32))', [])
.then(() => console.log('Executed SQL'))
.catch(e => console.log(e));
})
.catch(e => console.log(e));