How to fix error when i run any ionic command

my ionic version is

@angular/cli”: “^1.4.3”,
"@ionic/app-scripts": “^3.0.0”,
“ionic”: “3.12.0”,
“typescript”: “2.5.2”

when i run ionic serve -l command in cmd

i got this error in my all project also when i run ionic info command same error comes

{ Error
at FatalException.Exception (D:\kdIonic\divine\node_modules@ionic\cli-utils
at FatalException (D:\kdIonic\divine\node_modules@ionic\cli-utils\lib\error
at Config. (D:\kdIonic\divine\node_modules@ionic\cli-utils\lib\c
at throw (native)
at rejected (D:\kdIonic\divine\node_modules\tslib\tslib.js:94:69) name: ‘Exc
eption’, exitCode: 1, fatal: true }

looks like ionic cli has some problem,
can you check if you can run via npm tasks ,
npm run ionic:serve / npm run ionic:build

Not working by any command

What is your ionic info output?
What does npm list -g --depth=0 return?

Hello, All

I solved this error by simply deleting config.json file from C:\Users\PC.ionic

Thanks to all for gave your valuable time for my query