# \[ERROR\] ionic state has been removed as of CLI 3.0

**URL:** <https://forum.ionicframework.com/t/error-ionic-state-has-been-removed-as-of-cli-3-0/104914>\
**Category:** ionic-v3\
**Created:** [September 11, 2017, 9:38am UTC](https://forum.ionicframework.com/t/error-ionic-state-has-been-removed-as-of-cli-3-0/104914 "2017-09-11T09:38:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShehramTahir](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/shehramtahir/32/110823_2.png) [@ShehramTahir](https://forum.ionicframework.com/u/ShehramTahir)\
**Post date:** [September 11, 2017, 9:38am UTC](https://forum.ionicframework.com/t/error-ionic-state-has-been-removed-as-of-cli-3-0/104914/1 "2017-09-11T09:38:59Z")

</div>

I want to reset my platform and plugins because it is giving  
me this error that device not fired within 5000ms . Please reinstall your ionic/native plugins.

I am running this command but I am getting this error

**[ERROR] ionic state has been removed as of CLI 3.0**

Ionic Info

```auto

cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils : 1.9.2
    ionic (Ionic CLI) : 3.9.2

global packages:

    Cordova CLI : 7.0.1

local packages:

    @ionic/app-scripts : 2.1.4
    Cordova Platforms : ios 4.3.1
    Ionic Framework : ionic-angular 3.6.1

System:

    ios-deploy : 1.9.2
    Node : v6.11.3
    npm : 5.4.1
    OS : macOS High Sierra
    Xcode : Xcode 8.3.2 Build version 8E2002

```

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [September 11, 2017, 11:32am UTC](https://forum.ionicframework.com/t/error-ionic-state-has-been-removed-as-of-cli-3-0/104914/2 "2017-09-11T11:32:29Z")

</div>

> [@ShehramTahir](#):
>
> [ERROR] ionic state has been removed as of CLI 3.0

vs.

> [@ShehramTahir](#):
>
> ionic (Ionic CLI) : 3.9.2

What exactly do you think you have to do?

If you want to regenerate your native projects, just remove the platforms and re-add them again. This will also create new installations of the plugins.

---

<div class="post-metadata">

**Author:** ![ShehramTahir](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/shehramtahir/32/110823_2.png) [@ShehramTahir](https://forum.ionicframework.com/u/ShehramTahir)\
**Post date:** [September 11, 2017, 11:53am UTC](https://forum.ionicframework.com/t/error-ionic-state-has-been-removed-as-of-cli-3-0/104914/3 "2017-09-11T11:53:07Z")

</div>

I am stuck into this issue

`Ionic Native: deviceready did not fire within 5000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.`

I also tried this

`ionic cordova prepare`  
but this also didn’t help

So I want to reinstall my plugins through a command  
manually it will take so much time.

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [September 11, 2017, 11:55am UTC](https://forum.ionicframework.com/t/error-ionic-state-has-been-removed-as-of-cli-3-0/104914/4 "2017-09-11T11:55:07Z")

</div>

Well, the old command doesn’t exist any more as plugins are handled differently by Cordova since a few versions. You will have to either use the commands I posted above or do it manually. (Or really debug your actual problem)

---

<div class="post-metadata">

**Author:** ![ShehramTahir](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/shehramtahir/32/110823_2.png) [@ShehramTahir](https://forum.ionicframework.com/u/ShehramTahir)\
**Post date:** [September 12, 2017, 12:46pm UTC](https://forum.ionicframework.com/t/error-ionic-state-has-been-removed-as-of-cli-3-0/104914/5 "2017-09-12T12:46:42Z")

</div>

I removed all the plugins manually and installed them again but still it is giving me error that

`Ionic Native: deviceready did not fire within 5000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.`

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [September 12, 2017, 1:03pm UTC](https://forum.ionicframework.com/t/error-ionic-state-has-been-removed-as-of-cli-3-0/104914/6 "2017-09-12T13:03:25Z")

</div>

Create a new topic for that problem please. Maybe someone can help debug this.

(Include your `ionic cordova plugin list` and `ionic info` output please)
