Ionic-cli: ionic command in terminal failed after latest upgrade(3.5 to 3.6).

Created on 31 Jul 2017  Â·  9Comments  Â·  Source: ionic-team/ionic-cli

I'm getting following error the minute I try to execute ionic command in terminal:-

TypeError: Cannot read property 'save' of undefined
TypeError: Cannot read property 'interactive' of undefined

Where as if I try cordova command directly It's working.
ionic cordova build ios - error
Cordova build ios - works fine.

image

Most helpful comment

downgrading was helpful, thanks!

All 9 comments

@saaksshi Please fill out the issue template.

I have the same issue after updated to 3.6.Now not even able to do ionic info :(
Any updates?

Try npm i --save-dev --save-exact @ionic/cli-plugin-cordova@latest

I faced similar problem few days ago. I fixed it by reinstalling ionic CLI which is globally installed on my system and also reinstalling the locally installed CLI plugins in the project.

problem was with ionic cli 3.6.
Now they've release version 3.7 and the issue is fixed.
If still you face similar issue downgrade it to 3.5 version as follows :-

npm install -g [email protected]

Cheers,
Saaksshi

On Mon, Aug 7, 2017 at 12:20 AM, Aman Vishnani notifications@github.com
wrote:

I faced similar problem few days ago. I fixed it by reinstalling ionic CLI
which is globally installed on my system and also reinstalling the locally
installed CLI plugins in the project.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ionic-team/ionic-cli/issues/2587#issuecomment-320524933,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI1oP7fbH9aq9_F1TVqt7pI91S_OvNxwks5sVgrjgaJpZM4OosVH
.

--
Regards,
Saaksshi Tyagi https://in.linkedin.com/in/saaksshityagi

downgrading was helpful, thanks!

cool.

Hey all, 3.8 should fix this, as it doesn't load those plugins. Please upgrade to the latest version.

3.7 also fixed it :).

On Wed, Aug 16, 2017 at 3:41 AM, dwieeb notifications@github.com wrote:

Hey all, 3.8 should fix this, as it doesn't load those plugins. Please
upgrade to the latest version.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ionic-team/ionic-cli/issues/2587#issuecomment-322604114,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI1oP5b5zV6Ns-kEQ4cQZnatB_W7CxGSks5sYheugaJpZM4OosVH
.

--
Regards,
Saaksshi Tyagi https://in.linkedin.com/in/saaksshityagi

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zarko-tg picture zarko-tg  Â·  3Comments

rashnk picture rashnk  Â·  3Comments

mpaland picture mpaland  Â·  3Comments

jgw96 picture jgw96  Â·  3Comments

chsakell picture chsakell  Â·  3Comments