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

Unable to run on ios nor android with the last 3.9.5 version

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 3.9.5
    • Android, Cordova, Ionic, iOS
    • MOODLE_39_STABLE

      I'm trying to use the last 3.9.5 version but I'm unable to build it.

      This is what I do:

      • get a fresh copy of the code
      • `npm install`
      • `npm run build` — seems to work ok
      • `npm dev:android`— fails becouse of the livereload so I try without the flag:
      • `ionic cordova run android`: throws an error just after saying BUILD SUCCESSFULL

       

      BUILD SUCCESSFUL in 15s
       42 actionable tasks: 42 executed
       Built the following apk(s):
       /Users/......./platforms/android/app/build/outputs/apk/debug/app-debug.apk
       [ERROR] An error occurred while running subprocess cordova.
      

       

      • And if I try `npm run prod:android`, I also get a BUILD SUCCESSFULL but the this error:

       

      Error: Cannot find module './lib/updates'. 
      Require stack:   
      - /Users/...../node_modules/@ionic/cli/index.js. 
      - /Users/...../node_modules/@ionic/cli/bin/ionic%   
      

       

      I also tried to build for iOS and get this "Cannot find module './lib/updates'" error

       

      Any idea on why I'm getting this error?

       

      Thanks

       

            Unassigned Unassigned
            asunyer Albert Sunyer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.