I am working on windows universal apps using cordova. I have updated cordova.js from 3.2.0 to 3.6.3 and when I run the app in windows phone emulator, I am getting this error:
Error initializing cordova:missing command error
Can you please guide me how to solve this error?
Thanks In Advance,
Ajay
It is likely that some cordova related files are missing, particularly plugin files. Removing and adding the plugins again and/or removing and adding the 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]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With