Skip to content

suspense.resolve() is called without a pending branch. #7506

Closed

Description

@semiworks

Vue version

3.2.45

Link to minimal reproduction

https://codesandbox.io/s/vue-router-playground-forked-w9164p?file=/src/pages/Page2.vue

Steps to reproduce

Create an application with vue and vue-router and the suspense component.

When creating a page, during the setup function navigate to another page (in my case this is how I handle an error) than this error is triggered.

What is expected?

Just no error message from vue / Suspense.

What is actually happening?

I get the following error message:

suspense.resolve() is called without a pending branch.

Nevertheless I can keep on using the application without any problems. I just want to get rid of the error message.

System Info

No response

Any additional comments?

No response

Activity

  1. wiseadme commented on Feb 3, 2023

    @wiseadme

    faced with the same problem

  2. getlistman commented on Jun 29, 2023

    @getlistman
  3. qkreltms commented on Dec 29, 2023

    @qkreltms

    Using "window.location.href" could resolve error

  4. added
    🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.
    on Aug 1, 2024
  5. added a commit that references this issue on Sep 7, 2026
    bfcfe9e
  6. locked and limited conversation to collaborators on Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.scope: suspense

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions