ionic-cli
ionic-cli copied to clipboard
Cannot read property 'indexOf' of null on Cordova commands
https://forum.ionicframework.com/t/error-adding-ios-platform-error-indexof-undefined-solved/45234 https://forum.ionicframework.com/t/getting-error-while-adding-platform-ios-in-ionic/41657 http://stackoverflow.com/questions/35747292/ionic-cli-error-error-cannot-read-property-indexof-of-null-on-terminal
Confirming that this fixed the issue for me, which manifested when trying to launch iOS emulator and adding cordova plugins
Fixed by removeing
<allow-navigation href="http://:8100" />
Thanks @russcarver