我遇到了问题,我试图在nextjs中使用graphql进行订阅,但是出现了错误,我不知道如何解决。我遇到了websocket错误 - "WebSocket connection to 'ws:/_next/webpack-hmr' failed: WebSocket is closed before the connection is established."
您可以在这里检查代码 - https://github.com/LoQeN00/messenger-2.0.git 错误截图 graphql-setup截图
您可以在这里检查代码 - https://github.com/LoQeN00/messenger-2.0.git 错误截图 graphql-setup截图