Issue downloading Cordova's Electron version


Paolo Lops

Running the program cordova_electron_run.bat

i have


DecSoft

Hello Paolo,

Please, sorry for the delay... it's a problem here in my hosting with the E-Mail relay... I already open a ticket and hope the problems go on as quickly as possible. :-(

About your problem, it's quite rare... that is... certainly the current Cordova's Electron version is 1.0.0... so it's no way to try to play with the version 5.0.0. That's what the error message means: the required version is not found...

However, it's double rare... because... the BAT files generated by AB do not specify any version of the platforms, and so, the question is why in your case the version 5.0.0 is required..

Trying here in my computer the platform version that it's trying to be used is the expected one: 1.0.0... so, please, try by upgrade Apache Cordova... in order to assert that you are using the latest version.



Paolo Lops
cordova platform Installed platforms: android 7.1.4 Available platforms: browser ^6.0.0 electron ^1.0.0 ios ^5.0.0 osx ^5.0.0 windows ^7.0.0

DecSoft

Hello Paolo,

I refer to the version of Cordova itself... you may can upgrade your Cordova installation: see what version you have running the below command:

You must see the version 9.0.0. If not... you can upgrade Cordova by typing this command:

As you can see... the Cordova's Electron version is 1.0.0... and this is what must be required... not the non yet existing version 5.0.0...



Paolo Lops
C:\Users\Paolo>cordova --version 9.0.0 (cordova-lib@9.0.1) C:\Users\Paolo>

DecSoft

Hello Paolo,

The version of Cordova appear fine. Please, try to upgrade NodeJS too. Download and install the latest stable version. Additionally, check if you meet all the requirements for the Cordova's Electron platform.

After do the above, remove the "_Compiled" directory of the app, compile it again so you can try to run the BAT file again from the scratch.



Paolo Lops

DecSoft

Hello Paolo,

Humm... that mean that finally you got it? :-)



Paolo Lops
yes, David, removing _Compiled after upgrade works correctly! tanks good job

DecSoft

Very good then! :-)


Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.

This website uses some useful cookies to store your preferences.

I agree. Hide this note. Give me more information.