Ionic new creating error

path must be a string. received undefined ionic

I think, you are missing the HOME environment variable, and that’s why it couldn’t find .ionic/ionic.config.

You can read more information from here: https://cordova.apache.org/docs/en/latest/guide/platforms/android/