Cordoba initialization error: there is no command error in the Windows 8.1 phone.

I am working on universal Windows applications using cordova. I updated cordova.js from 3.2.0 to 3.6.3, and when I run the application in a Windows phone emulator, I get this error:

Error initializing cordova:missing command error 

Could you advise me how to solve this error?

Thanks in advance,

Ajay

+7
cordova win-universal-app
source share
2 answers

Probably some files associated with the corridor are missing, especially plugin files. Removing and adding plugins again and / or removing and adding a platform should fix this error.

 // do this for all plugins, or one at a time, testing in between cordova plugins remove [plugin-name] cordova plugins add [plugin-repo] // and if that doesn't help, do this cordova platforms remove [platform] cordova platforms add [platform] 
+1
source share

I fixed this problem by going into the Android SDK and installing older versions of Android, as well as all related tools. I'm not sure who did this, but once they were installed, it worked correctly.

I am using Windows 7 and the latest version of PhoneGap.

0
source share

All Articles