Framework7 CLI create: adds Electron instead of Android?

Hi @nolimits4web!

Updated Framework7 CLI to the latest version. Now when I create a new project, it somehow adds electron platform instead of Android to package.json and adds the electron platform to the Cordova project. Although the <platform name="android"> is added correctly to config.xml. I can just add Android manually and remove electron and everything works fine.

Now I read trough the source code of framework7-cli, and I think it goes wrong in create-cordova.js. I think this line always returns β€˜[email protected]’ for platforms other than β€˜ios’ :slight_smile:
Could you verify this?

Seems related to this github commit:

1 Like

Thanks! It is fixed now in CLI 5.1.4

1 Like