Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$router.push() with redirect in route's beforeEnter hook causes uncaught promise rejection #1616

berniegp opened this issue Sep 13, 2019 · 2 comments


Copy link

@berniegp berniegp commented Sep 13, 2019



Reproduction link

Steps to reproduce

To trigger the uncaught promise rejection, click on "/home" and then the button.

What is expected?

No error in console

What is actually happening?

Console reports Uncaught (in promise) undefined

Using a router-link instead of the initial $router.push() call removes the error.


This comment has been minimized.

Copy link

@ktsn ktsn commented Sep 13, 2019

I think you are filing it in wrong repo. It's vue-router issue rather than vuex.

@ktsn ktsn closed this Sep 13, 2019

This comment has been minimized.

Copy link

@berniegp berniegp commented Sep 15, 2019

You're absolutely right, sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.