Cannot read properties of undefined (reading 'publish')" #6309
Unanswered
bobwatcherx
asked this question in
General
Replies: 1 comment
-
This suggests that |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
my code : https://github.com/bobwatcherx/grapapollomain.git
codesanbox : https://codesandbox.io/s/practical-goldwasser-nyy9rw?file=/index.js
PREVIEW APOLLO:https://nyy9rw.sse.codesandbox.io
I'm having problems when I subscribe
on apollo
the error is Cannot read properties of undefined (reading 'publish')"
and when I see an error in the terminal like this
npx [email protected] --endpoint=ws://localhost:4000/graphql
Diagnostics ws://localhost:4000/graphql
️ Connection refused (ECONNREFUSED)
Is the address correct?
Is the server running?
I've followed various tutorials on the internet, including codesanbox from Apollo itself but it doesn't work
if you can give me a simple code example, thanks
Beta Was this translation helpful? Give feedback.
All reactions