Error adding ios platform Error 'indexOf' undefined. SOLVED

I just had an strange error adding the ios platform.
Error ‘indexOf’ undefined.

It turns out was the nodejs version.

For some unknown reason with the NodeJS 5.7.0 estable version, ionic has an error.

Hey there, could you post the output of ionic info to https://github.com/driftyco/ionic-cli/issues/815 please? Thanks!

Yeah, did that. Thanks for looking into this!

1 Like