Now I’m working on the Prisma Auth example. I’m ge...
# prisma-whats-new
e
Now I’m working on the Prisma Auth example. I’m getting this error:
Copy code
Server is running on <http://localhost:4000>
[Network error]: FetchError: request to <http://localhost:60000/myapp/dev> failed, reason: connect ECONNREFUSED 127.0.0.1:60000
Error: request to <http://localhost:60000/myapp/dev> failed, reason: connect ECONNREFUSED 127.0.0.1:60000
    at Object.checkResultAndHandleErrors (/Users/erichodges/Documents/Coding/graphcool/auth/node_modules/graphql-tools/dist/stitching/errors.js:69:36)
    at Object.<anonymous> (/Users/erichodges/Documents/Coding/graphcool/auth/node_modules/graphql-tools/dist/stitching/delegateToSchema.js:92:52)
    at step (/Users/erichodges/Documents/Coding/graphcool/auth/node_modules/graphql-tools/dist/stitching/delegateToSchema.js:40:23)
    at Object.next (/Users/erichodges/Documents/Coding/graphcool/auth/node_modules/graphql-tools/dist/stitching/delegateToSchema.js:21:53)
    at fulfilled (/Users/erichodges/Documents/Coding/graphcool/auth/node_modules/graphql-tools/dist/stitching/delegateToSchema.js:12:58)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
this?
e
yes
h
ok, have you started prisma locally?
e
no
us cluster
h
one sec
it seems slightly out of date
e
yes!
I had to fix something
it was looking for graphcool.graphql
instead of prisma
h
you have to change
GRAPHCOOL_ENDPOINT
in the
.env
file
e
ok, to?
h
change it to the url you got when deploying
e
ah ok…
ok, I think it’s working, thank god
I’ve had so much trouble to get anything working
thank you
!!
can you make a suggestion on how to hook this up to react? I need a resource to look at.
h
easiest might be apollo
e
ok, so look for apollo/react example?..Hmm I had the prisma react basic running earlier.
h
yeah that'll probably be a good start
I use my own stuff, because apollo is to big in terms of filesize
e
ah ok, cool. I don’t know how to cook my own yet.
i’m working on it though