I’m working on the Hackernews clone tutorial. I’m getting this error:
`Server is running on
http://localhost:4000
Error: Invalid Prisma endpoint provided: __PRISMA_ENDPOINT__
at new Prisma (/Users/erichodges/Documents/Coding/graphcool/hackernews-react-apollo/server/node_modules/prisma-binding/dist/Prisma.js
7519)
at GraphQLServer.context (/Users/erichodges/Documents/Coding/graphcool/hackernews-react-apollo/server/src/index.js
209)
at GraphQLServer.<anonymous> (/Users/erichodges/Documents/Coding/graphcool/hackernews-react-apollo/server/node_modules/graphql-yoga/dist/src/index.js
19151)
at step (/Users/erichodges/Documents/Coding/graphcool/hackernews-react-apollo/server/node_modules/graphql-yoga/dist/src/index.js
4023)
at Object.next (/Users/erichodges/Documents/Coding/graphcool/hackernews-react-apollo/server/node_modules/graphql-yoga/dist/src/index.js
2153)
at /Users/erichodges/Documents/Coding/graphcool/hackernews-react-apollo/server/node_modules/graphql-yoga/dist/src/index.js
1571
at new Promise (<anonymous>)
at __awaiter (/Users/erichodges/Documents/Coding/graphcool/hackernews-react-apollo/server/node_modules/graphql-yoga/dist/src/index.js
1112)
at /Users/erichodges/Documents/Coding/graphcool/hackernews-react-apollo/server/node_modules/graphql-yoga/dist/src/index.js
184108
at /Users/erichodges/Documents/Coding/graphcool/hackernews-react-apollo/server/node_modules/apollo-server-core/dist/graphqlOptions.js
5240
^C
➜ server prisma info
Service Name: hackernews-graphql-js
dev (cluster:
prisma-us1
)
HTTP:
https://us1.prisma.sh/public-rosehead-346/hackernews-graphql-js/dev
Websocket:
wss://us1.prisma.sh/public-rosehead-346/hackernews-graphql-js/dev`
I checked the endpoint, and it’s correct in the index.js