ionic deviceready has not fired after 5 seconds

Got the error “deviceready has not fired after 5 seconds” when trying to use:

ionic cordiva run ios -l

Found the answer on Github which is to add the ios and android platforms, remove them and then add them again:

ionic cordova platform add ios

ionic cordova platform add android

ionic cordova platform rm ios

ionic cordova platform rm android

ionic cordova platform add ios

ionic cordova platform add android

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.