Cannot find name 'SQLite'


#1

Hi all,
I added the SQLite plugin in my project but, writing the code, I receive the error:
Cannot find name ‘SQLite’.
It’s quite strange cause I have no error on SQLiteObject item …
Of course I added:
import { SQLite, SQLiteObject } from ‘@ionic-native/sqlite’;

Symbol SQLite is not present in the suggested items list the VCode propose.

How can i solve it?
Thanks!


#2

Sorry, I’ve got the solution.
I missed the ‘@4’ name part of the sqlite package.