Open Iran-110 opened 10 months ago
same problem
[Vue Router warn]: uncaught error during route navigation:
[[vite-node] [ERR_LOAD_URL] @vue/apollo-composable
at @vue/apollo-composable] {
cause: {
statusMessage: 'Vite Error',
message: '[vite-node] [ERR_LOAD_URL] @vue/apollo-composable',
stack: '[vite-node] [ERR_LOAD_URL] @vue/apollo-composable\n' +
'at @vue/apollo-composable'
},
statusCode: 500,
fatal: false,
unhandled: false,
statusMessage: 'Vite Error',
data: undefined,
__nuxt_error: true
}
Environment
Nuxt project info:
Build Modules: -
Describe the bug
In the server side rendering (SSR) phase,
useAsyncQuery
works fine but withuseQuery
leads the application to crash. And, it was impossible to catch the raised exception.Expected behaviour
The
@nuxtjs/apollo
should handle errors and the application must continue to run in the server-side rendering (SSR).Reproduction
Demo: https://stackblitz.com/edit/nuxtjs-apollo-usequery-error?file=README.md
Additional context
No response
Logs
No response