-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read property 'openDatabase' of undefined Test in device #32
Comments
Same problem with me. ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'openDatabase' of undefined
TypeError: Cannot read property 'openDatabase' of undefined
at vendor.js:168847
at new t (polyfills.js:3)
at CordovaDriver.createDatabaseConnection (vendor.js:168842)
at CordovaDriver.<anonymous> (vendor.js:35867)
at step (vendor.js:228)
at Object.next (vendor.js:209)
at vendor.js:202
at new t (polyfills.js:3)
at __awaiter (vendor.js:198)
at CordovaDriver.AbstractSqliteDriver.connect (vendor.js:35861)
at c (polyfills.js:3)
at polyfills.js:3
at polyfills.js:3
at t.invoke (polyfills.js:3)
at Object.onInvoke (vendor.js:4446)
at t.invoke (polyfills.js:3)
at r.run (polyfills.js:3)
at polyfills.js:3
at t.invokeTask (polyfills.js:3)
at Object.onInvokeTask (vendor.js:4437) ionic info: Ionic:
Ionic CLI : 6.12.1 (/Users/user/.nvm/versions/node/v14.4.0/lib/node_modules/@ionic/cli)
Ionic Framework : ionic-angular 3.7.0
@ionic/app-scripts : 3.2.4
Cordova:
Cordova CLI : 10.0.0
Cordova Platforms : android 9.0.0
Cordova Plugins : no whitelisted plugins (5 plugins total)
Utility:
cordova-res (update available: 0.15.2) : 0.15.1
native-run (update available: 1.2.2) : 1.0.0
System:
Android SDK Tools : 26.1.1 (/Users/user/Library/AndroidStudio/Android/sdk)
ios-deploy : 1.11.2
NodeJS : v14.4.0 (/Users/user/.nvm/versions/node/v14.4.0/bin/node)
npm : 6.14.5
OS : macOS Catalina
Xcode : Xcode 12.1 Build version 12A7403 |
i solve my issues with the following steps using ionic 5
ionic cordova plugin add cordova-sqlite-storage --save
npm install typeorm --save
npm install @types/node --save-dev
if you get runtime error |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cannot read property 'openDatabase' of undefined TypeError TypeError: Cannot read
property 'openDatabase' of undefined ) at CordovaDriver.createDatabaseConnection
The text was updated successfully, but these errors were encountered: