-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Missing LifecycleHooks.SERVER_PREFETCH in 'vue-next/packages/runtime-core/src/errorHandling.ts' #4013
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
Comments
@LordTerabyte The link is broken, can you fix it? |
I'm trying, but honestly there is no reproduction code, because the missing thing is obvious just by looking at the source code. Like this:
|
Just take a look please, I swear I'm not just wasting your time. |
If it helps, this seems to be a related issue. |
I managed to actually setup a working reproduction link. That sfc playground is confusing. |
@LinusBorg are these Example: I'm setting up a |
Version
3.1.2
Reproduction link
https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjcmlwdCBsYW5nPVwidHNcIj5cbiAgaW1wb3J0IHsgb25TZXJ2ZXJQcmVmZXRjaCB9IGZyb20gJ3Z1ZSc7XG5cdG9uU2VydmVyUHJlZmV0Y2goKCkgPT4ge30pO1xuPC9zY3JpcHQ+In0=
Steps to reproduce
Accidentally stumbled onto this trying to configure apollo extension for quasar. Calling injectHook with LifecycleHooks.SERVER_PREFETCH as the first parameter causes an exception because the ErrorTypeStrings record does not contain an entry for LifecycleHooks.SERVER_PREFETCH.
What is expected?
A warning that i'm doing things wrong.
What is actually happening?
A confusing error.
The text was updated successfully, but these errors were encountered: