what version of ionic and cordova ??

what version of ionic and cordova ??

Salim BOUDRAA發表於
Number of replies: 9

Hello, I need to know what version of ionic, cordova and node that I have to install to execute moodlemobile v3.6.1 


thank you

評比平均分數: -
In reply to Salim BOUDRAA

Re: what version of ionic and cordova ??

Peter Upfold發表於

What do you mean by "execute moodlemobile"? Are you trying to run it in the browser?

What host operating system are you working with?

In reply to Peter Upfold

Re: what version of ionic and cordova ??

Salim BOUDRAA發表於

what I wanted exactly is to run it on a browser to start, make changes to cutomize the app with our moodle site and at the end run it on an android device and may be ios device too

I'm on windows 8.1 

thanks


In reply to Salim BOUDRAA

Re: what version of ionic and cordova ??

Peter Upfold發表於

I have cordova@8.1.2 and ionic@4.5.0 installed globally, each by running `npm install -g` and then that package identifier.

It would be worth following the instructions on Setting up your development environment for Moodle Mobile 2 and see how far you get. Some of that is not up-to-date, but much of it is still relevant.

In reply to Peter Upfold

Re: what version of ionic and cordova ??

Salim BOUDRAA發表於

thank you, could you tell me the version of npm and node you are using ??

In reply to Salim BOUDRAA

Re: what version of ionic and cordova ??

Peter Upfold發表於

I had issues with a more recent version of Node (I believe there was some specific bug affecting the build process), so I actually dug into the archives and used Node v10.10.0. I have NPM v6.5.0.

Obviously staying on older versions long term is not a good idea for security reasons, so I will have to reassess whether the issue is fixed with more recent versions of Node.

In reply to Peter Upfold

Re: what version of ionic and cordova ??

Salim BOUDRAA發表於
thank you very much, I will start with the same version as you are using for now thank you, can you please notify me when you fix the bug ? thank you
In reply to Salim BOUDRAA

Re: what version of ionic and cordova ??

Peter Upfold發表於

I'm not part of the Moodle team or anything to do with Node/NPM, so it's not my bug to fix. I'm just another Moodle site admin trying to make a custom app. (I'm not even sure if the bug is on the Node side or the Moodle build process side.)

I don't recall where I read about using that version of Node to work around the issue, so it will be trial and error to upgrade later and see if we still can build.

In reply to Peter Upfold

Re: what version of ionic and cordova ??

Salim BOUDRAA發表於

hi, what are all the commands do you use to compile and execute on browser or android and ios devices ??