compileAndLink error when closing and opening app quickly



  • I use Onsen .rc6 and I see this error (I don’t know if it was happening in earlier versions… because I noticed now)

    angular-onsenui.min.js:6 Uncaught (in promise) TypeError: Cannot read property '_compileAndLink' of undefined at Object.window.OnsNavigatorElement.rewritables.link (file:///android_asset/www/js/angular-onsenui.min.js:6:8356) at file:///android_asset/www/js/onsenui.min.js:8:18891 at file:///android_asset/www/js/onsenui.min.js:8:18383

    In particular, this is happening if you quit the app (pressing the back button) and reopening quickly (quit and by the time you see the icon of the app open again). It might not happen the 1st time but trying it 3-4 times eventually will happen (I found out that it’s random)

    My device is nexus 5

    It’s me doing something wrong or it’s a bug?


Log in to reply