pakbull6772540
Posts: 0
Joined: Sun Mar 30, 2014 4:08 pm

When adding a plugin, the build fails with Failed to install 'cordova-sqlite-storage': even though I am NOT installing s

I am NOT installing sqllite cordova plugin. It looks like that there is some dependency or a file that sees this to be installed. I do not know where it is looking for the dependency?

I have deleted all plugins, and installed a different non-sqllite pluign, but the error message is the same. If I do not select a plugin in the app settings, then it will compile correctly.

Can you provide some info on which file to look at in the project source to see if it is referring to the sqllite one.

Most likely build error cause:

Failed to install 'cordova-sqlite-storage':Error: Uh oh!
"/srv/tiggzi/jenkins/workspace/437468-android/228106/437468/android/hsetest/cordova/plugins/cordova-sqlite-storage/node_modules/cordova-sqlite-storage-dependencies/libs/sqlite-connector.jar" not found!
at Object.module.exports.common.copyFile (/usr/lib/node_modules/plugman/node_modules/cordova-lib/src/plugman/platforms/common.js:38:40)
at Object.module.exports.common.copyNewFile (/usr/lib/node_modules/plugman/node_modules/cordova-lib/src/plugman/platforms/common.js:69:16)
at Object.module.exports.source-file.install (/usr/lib/node_modules/plugman/node_modules/cordova-lib/src/plugman/platforms/android.js:78:20)
at installWrapper (/usr/lib/node_modules/plugman/node_modules/cordova-lib/src/platforms/platforms.js:77:32)
at Object.ActionStack.process (/usr/lib/node_modules/plugman/node_modules/cordova-lib/src/plugman/util/action-stack.js:68:25)
at handleInstall (/usr/lib/node_modules/plugman/node_modules/cordova-lib/src/plugman/install.js:576:20)
at /usr/lib/node_modules/plugman/node_modules/cordova-lib/src/plugman/install.js:368:24
at _fulfilled (/usr/lib/node_modules/plugman/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (/usr/lib/node_modules/plugman/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch (/usr/lib/node_modules/plugman/node_modules/q/q.js:749:13)

stderr: Failed to install 'cordova-plugin-ms-azure-mobile-apps':Error: Uh oh!
"/srv/tiggzi/jenkins/workspace/437468-android/228106/437468/android/hsetest/cordova/plugins/cordova-sqlite-storage/node_modules/cordova-sqlite-storage-dependencies/libs/sqlite-connector.jar" not found!
at Object.module.exports.common.copyFile (/usr/lib/node_modules/plugman/node_modules/cordova-lib/src/plugman/platforms/common.js:38:40)
at Object.module.exports.common.copyNewFile (/usr/lib/node_modules/plugman/node_modules/cordova-lib/src/plugman/platforms/common.js:69:16)
at Object.module.exports.source-file.install (/usr/lib/node_modules/plugman/node_modules/cordova-lib/src/plugman/platforms/android.js:78:20)
at installWrapper (/usr/lib/node_modules/plugman/node_modules/cordova-lib/src/platforms/platforms.js:77:32)
at Object.ActionStack.process (/usr/lib/node_modules/plugman/node_modules/cordova-lib/src/plugman/util/action-stack.js:68:25)
at handleInstall (/usr/lib/node_modules/plugman/node_modules/cordova-lib/src/plugman/install.js:576:20)
at /usr/lib/node_modules/plugman/node_modules/cordova-lib/src/plugman/install.js:368:24
at _fulfilled (/usr/lib/node_modules/plugman/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (/usr/lib/node_modules/plugman/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch (/usr/lib/node_modules/plugman/node_modules/q/q.js:749:13)

stderr: Uh oh!

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

When adding a plugin, the build fails with Failed to install 'cordova-sqlite-storage': even though I am NOT installing s

Hello,

Could you clarify have you changed anything on the Source tab?

If you did, these custom changes might cause the build to fail. Try to rollback the custom source changes and try to build the app again. Here is how to rollback custom source change: https://docs.appery.io/docs/appbuilde...

When you make changes in the Source view for a particular page, the visual editor for that page will not be updated (until you rollback the changes).

Could you send us the project type (JQM, Ionic, Bootstrap) you use and it's libraries version (App Settings-Resources) which you use here?

pakbull6772540
Posts: 0
Joined: Sun Mar 30, 2014 4:08 pm

When adding a plugin, the build fails with Failed to install 'cordova-sqlite-storage': even though I am NOT installing s

Hi.

I did not modify source. I did add the sqllite cordova plugin through the resources tab but then I deleted it as it keeps on asking for these litehelper files.

I am using the latest JQuery libraries v3.1

Now there is only one cordova plugin in the resources tab for azure mobile apps.

If I do not choose that plugin in the app_settings (it is unchecked) the app compiles fine. But if I select it, it fails.

I have shared the app with support. It is called hse2go.

pakbull6772540
Posts: 0
Joined: Sun Mar 30, 2014 4:08 pm

When adding a plugin, the build fails with Failed to install 'cordova-sqlite-storage': even though I am NOT installing s

BTW, I did find a github found here:
Cordova-sqlite-storage-dependencies-master

the zip file here contains all files this is asking for, but I don't know why they are needed if I am not using the sqllite cordova plugin.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

When adding a plugin, the build fails with Failed to install 'cordova-sqlite-storage': even though I am NOT installing s

Could you please specify, which Cordova plugin you're adding as a custom plugin to your project?

Also I can see that you had added a file into your WEB resources, and such changes could cause the project synchronization to fail and the old dependancies are still in there. So, please make 'Undo all the source changes' on all your folders and after that add your custom plugin and try the project build.

pakbull6772540
Posts: 0
Joined: Sun Mar 30, 2014 4:08 pm

When adding a plugin, the build fails with Failed to install 'cordova-sqlite-storage': even though I am NOT installing s

Unfortunately, that did not help. I have deleted the file and deleted the folders.

There is only one cordova plugin from Microsoft Azure.
cordova-plugin-ms-azure-mobile-apps

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

When adding a plugin, the build fails with Failed to install 'cordova-sqlite-storage': even though I am NOT installing s

This is a custom plugin and it could contains such dependancies. We are not familiar with such plugin and we can provide you help with it's integration within Appery.io through our Advisory Pack option: https://appery.io/services/

pakbull6772540
Posts: 0
Joined: Sun Mar 30, 2014 4:08 pm

When adding a plugin, the build fails with Failed to install 'cordova-sqlite-storage': even though I am NOT installing s

It seems to have the dependency as written in the plungin.xml file:

<!--
Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
--

Code: Select all

 Azure Mobile Apps 
 This library enables you to develop scalable and secure cordova mobile apps hosted in Microsoft Azure. You can incorporate structured storage, user authentication and push notifications in minutes. For more information, check out [url=http://azure.microsoft.com/en-us/documentation/articles/app-service-mobile-value-prop-preview]http://azure.microsoft.com/en-us/docu...[/url] 
 Apache 2.0 
 azure, services, zumo, cloud 
 [url=https://github.com/azure/azure-mobile-apps-cordova-client]https://github.com/azure/azure-mobile...[/url] 
 [url=https://github.com/azure/azure-mobile-apps-js-client/issues]https://github.com/azure/azure-mobile...[/url]

Return to “Issues”