NavigationDuplicated error [SOLVED by dobbel]
-
Hi guys,
I get this only on one route but i can’t figure out why. Any idea?vue-router.esm.js?8c4f:2051 Uncaught (in promise) NavigationDuplicated {_name: "NavigationDuplicated", name: "NavigationDuplicated", message: "Navigating to current location ("/utloggad") is not allowed", stack: "Error↵ at new NavigationDuplicated (webpack-int…outs/Default.vue?vue&type=script&lang=js&:350:33)"}
-
i got this error when i did: router.push(‘ALREADY_AT_THIS_ROUTE’). So basically you go to a route( router.push) where you are already at.
-
thank you so much @dobbel , this solved my problem.
-
Please refer this link https://github.com/vuejs/vue-router/issues/2881#issuecomment-520554378
I also encounter this issue recently when upgrade quasar to the latest version. -
i encountered this error with vuetify 2.1.5 and i was unable to solve it with catching the push.