Not working Ionic Command


#1

{ Error
at FatalException.Exception (/home/niraj/.npm-global/lib/node_modules/ionic/node_modules/@ionic/cli-utils/dist/lib/errors.js:8:23)
at FatalException (/home/niraj/.npm-global/lib/node_modules/ionic/node_modules/@ionic/cli-utils/dist/lib/errors.js:17:9)
at Config. (/home/niraj/.npm-global/lib/node_modules/ionic/node_modules/@ionic/cli-utils/dist/lib/config.js:41:31)
at throw (native)
at rejected (/home/niraj/.npm-global/lib/node_modules/ionic/node_modules/@ionic/cli-utils/dist/lib/config.js:5:65) name: ‘Exception’, exitCode: 1, fatal: true }

give this error when i write this command in terminal " ionic info"

when i am update ionic cli version 3


#2

Seems similar to this: Bug in ionic 3? - please help


#3

Yeah I opened it :joy: Any way I managed to fix it ! There is a folder that don’t removed when uninstall under c:/users/{user}/.ionic , in there there is a config Jason file and in my case it was empty so I deleted the folder than reinstalled ionic and it worked ! :slight_smile: thank so much


#4

Thank you so much for supporting me…Its working fine…!!!