Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-2925

Need to pin cordova, gulp, ionic versions

    XMLWordPrintable

Details

    • Moodle App 3.7.1

    Description

      It is not possible to run a new install of the app as per the documentation because Cordova have pushed out a new major release (9.0.0) which breaks the build.

      Failed to install 'cordova-sqlite-storage': CordovaError: Using "requireCordovaModule" to load non-cordova module "q" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.
      at Context.requireCordovaModule (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/Context.js:57:15)
      at module.exports (/app/plugins/cordova-sqlite-storage/scripts/beforePluginInstall.js:13:21)
      at runScriptViaModuleLoader (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:181:32)
      at runScript (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:157:16)
      at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:125:20
      at processTicksAndRejections (internal/process/task_queues.js:86:5)
      Failed to restore plugin "cordova-sqlite-storage" from config.xml. You might need to try adding it again. Error: Using "requireCordovaModule" to load non-cordova module "q" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.
      
      

      Attachments

        Issue Links

          Activity

            People

              pferre22 Pau Ferrer
              sadaf3d saman2
              Albert Gasset Albert Gasset
              Juan Leyva Juan Leyva
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Votes:
              8 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                30/Aug/19