Failed to install 'cordova-sqlite-storage': CordovaError: Uh oh!

Failed to install 'cordova-sqlite-storage': CordovaError: Uh oh!

by sadaf sadafian -
Number of replies: 5

hi. i want create moodle mobile such as in the past. i only change the my application name in moodle mobile config files. do not other thing. but it can not create through build.phonegap.com and return this error to me:


Fetching plugin "cordova-plugin-zip@3.1.0" via npm
Installing "cordova-plugin-zip" at "3.1.0" for android
Plugin dependency "cordova-plugin-file@6.0.1" already fetched, using that version.
Installing "cordova-plugin-file" at "6.0.1" for android
Plugin doesn't support this project's cordova-android version. cordova-android: 6.1.2, failed version requirement: >=6.3.0
Skipping 'cordova-plugin-file' for android
"plugman-151 install --platform android --project /var/gimlet/tmp/47222359961060/3494353/project --plugin cordova-sqlite-storage@^3.1.0 --nohooks=.": Fetching plugin "cordova-sqlite-storage@^3.1.0" via npm
Installing "cordova-sqlite-storage" at "3.1.0" for android
Error during processing of action! Attempting to revert...
Failed to install 'cordova-sqlite-storage': CordovaError: Uh oh!
"/var/gimlet/tmp/47222359961060/3494353/project/cordova/plugins/cordova-sqlite-storage/node_modules/cordova-sqlite-storage-dependencies/libs/sqlite-connector.jar" not found!
    at copyFile (/var/gimlet/tmp/47222359961060/3494353/project/cordova/lib/pluginHandlers.js:219:36)
    at install (/var/gimlet/tmp/47222359961060/3494353/project/cordova/lib/pluginHandlers.js:62:13)
    at ActionStack.process (/var/gimlet/tmp/47222359961060/3494353/project/cordova/node_modules/cordova-common/src/ActionStack.js:56:25)
    at PluginManager.doOperation (/var/gimlet/tmp/47222359961060/3494353/project/cordova/node_modules/cordova-common/src/PluginManager.js:117:20)
    at PluginManager.addPlugin (/var/gimlet/tmp/47222359961060/3494353/project/cordova/node_modules/cordova-common/src/PluginManager.js:147:17)
    at /var/gimlet/tmp/47222359961060/3494353/project/cordova/Api.js:254:18
    at _fulfilled (/var/gimlet/tmp/47222359961060/3494353/project/cordova/node_modules/q/q.js:834:54)
    at self.promiseDispatch.done (/var/gimlet/tmp/47222359961060/3494353/project/cordova/node_modules/q/q.js:863:30)
    at Promise.promise.promiseDispatch (/var/gimlet/tmp/47222359961060/3494353/project/cordova/node_modules/q/q.js:796:13)
    at /var/gimlet/tmp/47222359961060/3494353/project/cordova/node_modules/q/q.js:556:49
Uh oh!
"/var/gimlet/tmp/47222359961060/3494353/project/cordova/plugins/cordova-sqlite-storage/node_modules/cordova-sqlite-storage-dependencies/libs/sqlite-connector.jar" not found!


Average of ratings: -
In reply to sadaf sadafian

Re: Failed to install 'cordova-sqlite-storage': CordovaError: Uh oh!

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi,

this may be related to the Cordova version you are using,

npm install -g cordova@8.1.2 ionic
may fix the issue

Regards, Juan

In reply to Juan Leyva

Re: Failed to install 'cordova-sqlite-storage': CordovaError: Uh oh!

by Іван Колодрівський -

I have the same problem.

But how to do this in the case of build.phonegap.com?

I copied config.xml to www in MAIN reposotory (with source code) from https://github.com/moodlehq/moodlemobile-phonegapbuild/blob/integration/config.xml and I receive an error about "cordova-sqlite-storage"


In reply to Іван Колодрівський

Re: Re: Failed to install 'cordova-sqlite-storage': CordovaError: Uh oh!

by sadaf sadafian -
i report this problem in this link: https://tracker.moodle.org/projects/MOBILE/issues/MOBILE-2925 and after that i con't check that is it work or not. maybe @Juan Leyva can describe more.
In reply to sadaf sadafian

Re: Re: Failed to install 'cordova-sqlite-storage': CordovaError: Uh oh!

by Rekha C -

I got the same error today to delete plugins.

Playstroe has a 64 bit timeline on 1  Aug - can we given clear instructions to build an app now ?

Error - Plugin error (you probably need to remove plugin files from your app): Fetching plugin "cordova-sqlite-storage@2.6.0" via npm Installing "cordova-sqlite-storage" at "2.6.0" for android Error during processing of action! Attempting to revert... Failed to install 'cordova-sqlite-storage': CordovaError: Uh oh! "/var/gimlet/tmp/47088560171560/3642296/www_android/project/cordova/plugins/cordova-sqlite-storage/node_modules/cordova-sqlite-storage-dependencies/libs/sqlite-connector.jar" not found! at copyFile (/var/gimlet/tmp/47088560171560/3642296/www_android/project/cordova/lib/pluginHandlers.js:219:36) at install (/var/gimlet/tmp/47088560171560/3642296/www_android/project/cordova/lib/pluginHandlers.js:62:13) at ActionStack.process (/var/gimlet/tmp/47088560171560/3642296/www_android/project/cordova/node_modules/cordova-common/src/ActionStack.js:56:25) at PluginManager.doOperation (/var/gimlet/tmp/47088560171560/3642296/www_android/project/cordova/node_modules/cordova-common/src/PluginManager.js:117:20) at PluginManager.addPlugin (/var/gimlet/tmp/47088560171560/3642296/www_android/project/cordova/node_modules/cordova-common/src/PluginManager.js:147:17) at /var/gimlet/tmp/47088560171560/3642296/www_android/project/cordova/Api.js:254:18 at _fulfilled (/var/gimlet/tmp/47088560171560/3642296/www_android/project/cordova/node_modules/q/q.js:834:54) at self.promiseDispatch.done (/var/gimlet/tmp/47088560171560/3642296/www_android/project/cordova/node_modules/q/q.js:863:30) at Promise.promise.promiseDispatch (/var/gimlet/tmp/47088560171560/3642296/www_android/project/cordova/node_modules/q/q.js:796:13) at /var/gimlet/tmp/47088560171560/3642296/www_android/project/cordova/node_modules/q/q.js:556:49 Uh oh! "/var/gimlet/tmp/47088560171560/3642296/www_android/project/cordova/plugins/cordova-sqlite-storage/node_modules/cordova-sqlite-storage-dependencies/libs/sqlite-connector.jar" not found! - You can fix this here