Type SQLitePorter does not have 'ɵmod' property

As the title states. Can someone please explain what this means and how I can fix it. I understand that there is a SQLite plugin for capacitor but I am holding off using it until I can work how how to use it in an existing app without major modifications.

Thanks

1 Like

Same error, just following, thanks.

Hello
I had the same problem.
Do not include “SQLite” in imports in app.module.ts file.
Add the sqlite in Providers.
The same goes for the SqliteDbCopy plugin.

My app.module file looks like this;

import { SQLite } from ‘@awesome-cordova-plugins/sqlite/ngx’;
import { SqliteDbCopy } from ‘@awesome-cordova-plugins/sqlite-db-copy/ngx’;

@NgModule({


providers: [
SqliteDbCopy, //add this
SQLite, //add this
{ provide: RouteReuseStrategy, useClass: IonicRouteStrategy }],
bootstrap: [AppComponent],
})