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

There is no active component instance when onServerPrefetch is called #6

Open
kawa-work opened this issue Apr 7, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@kawa-work
Copy link
Owner

Problem

The following error is displayed in server console.

[Vue warn]: onServerPrefetch is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.
@kawa-work kawa-work added the bug Something isn't working label Apr 7, 2022
@kawa-work kawa-work self-assigned this Apr 7, 2022
kawa-work added a commit that referenced this issue Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant