You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.
Could not find a declaration file for module 'nativescript-sqlite'.
'node_modules/nativescript-sqlite/sqlite.js' implicitly has an 'any' type.
Try npm i --save-dev @types/nativescript-sqlite if it exists or add a new declaration (.d.ts) file containing declare module 'nativescript-sqlite';ts(7016)
npm i --save-dev @types/nativescript-sqlite error: -
npm i --save-dev @types/nativescript-sqlite
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@types%2fnativescript-sqlite - Not found
npm ERR! 404
npm ERR! 404 '@types/nativescript-sqlite@*' is not in this registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
var TSdb = new Sqlite("database.db", function(err, db){
Error Uncaught TypeError: nativescript_sqlite__WEBPACK_IMPORTED_MODULE_0__.Sqlite is not a constructor
nativescript-sqlite V2.8.6
NS 8.1.5
NS Core 8.2.1
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Importing nativescript-sqlite
import {
Sqlite
} from "nativescript-sqlite";
Above line reports: -
Could not find a declaration file for module 'nativescript-sqlite'.
'node_modules/nativescript-sqlite/sqlite.js' implicitly has an 'any' type.
Try
npm i --save-dev @types/nativescript-sqlite
if it exists or add a new declaration (.d.ts) file containingdeclare module 'nativescript-sqlite';
ts(7016)npm i --save-dev @types/nativescript-sqlite error: -
npm i --save-dev @types/nativescript-sqlite
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@types%2fnativescript-sqlite - Not found
npm ERR! 404
npm ERR! 404 '@types/nativescript-sqlite@*' is not in this registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
var TSdb = new Sqlite("database.db", function(err, db){
Error Uncaught TypeError: nativescript_sqlite__WEBPACK_IMPORTED_MODULE_0__.Sqlite is not a constructor
nativescript-sqlite V2.8.6
NS 8.1.5
NS Core 8.2.1
The text was updated successfully, but these errors were encountered: