No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    NavigationDuplicated error [SOLVED by dobbel]

    Help
    4
    5
    4887
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • PeterQF
      PeterQF last edited by PeterQF

      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)"}
      
      1 Reply Last reply Reply Quote 0
      • dobbel
        dobbel last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • PeterQF
          PeterQF last edited by

          thank you so much @dobbel , this solved my problem.

          1 Reply Last reply Reply Quote 0
          • S
            Stanley last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • M
              mikoo1991 last edited by

              i encountered this error with vuetify 2.1.5 and i was unable to solve it with catching the push.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post