2 Replies Latest reply on Sep 27, 2016 12:11 PM by ryanskihead

    cordova-sqlite-storage error - occurs even when all plugins are removed

    gorang7929593 Level 1

      On build.phonegap the iOS and Android builds fail with the following error message:

       

      Error - Plugin error (you probably need to remove plugin files from your app): Fetching plugin "cordova-sqlite-storage@~1.4.7" via npm Installing "cordova-sqlite-storage" at "1.4.7" for ios Error during processing of action! Attempting to revert... Failed to install 'cordova-sqlite-storage':CordovaError: Uh oh!

       

       

      In config we have:

      <plugin name="cordova-sqlite-storage" source="npm" spec="~0.8.5"/>

       

      The config.xml hasn't been modified in weeks, and the build worked fine for weeks, then two days ago it started failing suddenly.

       

      We get the "cordova-sqlite-storage@~1.4.7" error message even if we remove the reference to cordova-sqlite-storage plugin from config.xml,

      the message still occurs even when we remove all of the plugins from the config.

       

      On September 21/22 the status.build.phonegap.com was showing issues with the build server, and that seems to be fixed now, however the 'cordova-sqlite-storage' plugin error is still occuring even if it's not referenced in config.xml

        • 1. Re: cordova-sqlite-storage error - occurs even when all plugins are removed
          gorang7929593 Level 1

          an update...

           

          In attempt to solve and debug the issue, we created a brand new build.phonegap project, and created a new branch on github and removed ALL 'gap:plugin' and 'plugin' tags from config.xml

           

          The build was successful, and the 'plugins' tab showed one plugin: 'cordova-plugin-secure-storage' which appeared even when we didn't have any plugins in the config.

           

          next, we re-added all of the plugins to config.xml, except for phonegap-plugin-push and rebuild the app.

          this build was successful, but the 'plugins' tab on the app didn't have any plugins listed even when many plugins should be included.

           

          Note: this is the code that always build successfully for many weeks prior to 2 days ago when the issue started happening.

          the config.xml wasn't modified for several weeks prior to this.

          • 2. Re: cordova-sqlite-storage error - occurs even when all plugins are removed
            ryanskihead Adobe Employee

            Are you zipping up and uploading an entire cordova application? If so, you shouldn't be -- just upload the www folder with a config.xml. Alternatively run phonegap remote build ios, which should upload the correct files.

             

            When you upload an entire phonegap / cordova app directory, you are uploading the platforms directory which has platform config.xml files which can cause confustion to the build system. If you haven't run phonegap prepare those files may still include your old plugins.