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
fastify-vite-vue:useServerAPI Cannot read property 'appContext' of null #17
Comments
I found reasons, why this error happens for me, maybe for someone else it will be helpful. The root cause is Vue version, for 3.1.2 the error is happens, but when I downgraded back to 3.1.1 the error is gone. |
@SuslegStyle fixed in the latest release, see https://www.youtube.com/watch?v=ybCMaNDcb1s |
Thank you for the update. I made the appropriate changes, but it does not work me.
The error points to
I tried to use different combination of Vue and Vite versions, but no luck. The current list of my dependencies
|
A small update,
And I can see an object in console, but still have an issue inside useHydration
|
Can you put up a reproduction repository? |
Yeah, it is great idea. Here you go, https://github.com/SuslegStyle/fastify-vite-hello-world I will be really appreciate if you can help me to understand what exactly is wrong. |
@galvez any updates ? Does the example was helpful? |
It has been fixed starting from |
Thanks for closing the issue, @SuslegStyle! |
He guys. Could you please help me?
Today I faced the issue
Looks like the internal method getCurrentInstance() returns null.
As a workaround I have to use try catch for useServerAPI method, but my page does not get data from SSR.
Just in case, list of my project's dependencies
The text was updated successfully, but these errors were encountered: