Errors in user custom functions in apollo object makes Nuxt crash

bviala
0
bviala
commented 13 days ago

Version

v4.0.0-rc.2

Reproduction link

https://github.com/bviala/nuxt-apollo-crash

Steps to reproduce

clone the repo
npm run dev (or build / start)
access localhost:3000
check your terminal to see that the server crashed

Check pages/index.vue to see the code causing the issue.
It looks like any error happening in custom code passed to the apollo object will make the server crash.

What is expected ?

Server not crashing ๐Ÿ˜ฌ

What is actually happening?

Server crashing ๐Ÿ˜ญ

Additional comments?

I'm not sure if this is a nuxt/apollo or a nuxt issue ๐Ÿค”

bug
0
Informations
Bug Report โ€ข Open
#c162 - Created 13 days ago