הדר דיין
הדר דיין

Reputation: 31

ionic 3 - Error at FatalException.Exception - bug in the new version?

I downloaded Ionic 3 few days ago and everything worked just fine when all of the sudden yesterday this error showed up after every ionic command I tried to use (ionic info, ionic serve, ionic start etc.):

{ Error at FatalException.Exception (C:\Users\X\AppData\Roaming\npm\node_modules\ionic\node_modules\@ionic\cli-utils\dist\lib\errors.js:8:23) at FatalException (C:\Users\X\AppData\Roaming\npm\node_modules\ionic\node_modules\@ionic\cli-utils\dist\lib\errors.js:17:9) at Config. (C:\Users\X\AppData\Roaming\npm\node_modules\ionic\node_modules\@ionic\cli-utils\dist\lib\config.js:41:31) at throw (native) at rejected (C:\Users\X\AppData\Roaming\npm\node_modules\ionic\node_modules\@ionic\cli-utils\dist\lib\config.js:5:65) name: 'Exception', exitCode: 1, fatal: true }

I have tried to delete ionic and cordova and reinstall many times using many different instructions I found online:

npm uninstall cordova ionic
npm cache clean -f
npm install npm -g
npm uninstall node
apt-get purge npm
apt-get install npm
npm install node -g

I've also tried to delete and reinstall node but this error stay with every version of ionic 3.X.X I tried. ionic 2 on the other hand work great. any Idea what might have caused that and how to fix it?

I'm using:

Upvotes: 2

Views: 2005

Answers (4)

Mebin Xtapps
Mebin Xtapps

Reputation: 51

First you delete the 'C:\UsersUSER.ionic folder, then dlete/uninstall ionic! then reinstall ionic cordova This worked for me

Upvotes: 0

Aqib Ibrahim
Aqib Ibrahim

Reputation: 119

Just remove this C:\UsersUSER.ionic folder and then uninstall ionic and then reinstall ionic with npm install -g ionic

Upvotes: 0

Adrian Coman
Adrian Coman

Reputation: 1536

Deleting the config.json file from C:\Users{your_user}.ionic did the trick.

Upvotes: 6

Kyle
Kyle

Reputation: 319

This looks like a known issue 1, you might be able to work around it by getting a copy of a peer's config.json file. Alternatively, you could try wiping out your %userprofile%.ionic folder and redoing the ionic install.

Error at FatalException.Exception bug

Upvotes: 8

Related Questions