The config file (.\ionic.config.json) is not valid JSON format The config file (.\ionic.config.json) is not valid JSON format json json

The config file (.\ionic.config.json) is not valid JSON format


Goto this path- C:/Users/{your_username}/.ionicfind file ionic.config and delete it.

It will be auto-regenerated by the CLI.


It wasn't my ionic config file after all. It was a package.json and bower.json files. They did not have the dependencies correctly in place and the app name was in uppercase. After I fixed my dependencies, I got the command to work.


Run:

npm uninstall -g ionic

Remove .ionic from user home folder

rm -Rf ~/.ionic

Then, reinstall ionic:

npm i -g ionic