graphql-boilerplates / react-fullstack-graphql

Starter projects for fullstack applications based on React & GraphQL.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: Invalid Prisma endpoint provided: __PRISMA_ENDPOINT__

Jaikant opened this issue · comments

commented

Hi,

I am getting the error

Error: Invalid Prisma endpoint provided: __PRISMA_ENDPOINT__

Do I need to replace the PRISMA_ENDPOINT in src/index.js ?

this could also be because I have been playing around with a couple of starters, and it could be picking up some stale information.

For this error, I had been following the tutorial here

Hey @Jaikant, we just updated the boilerplates. I can't reproduce your issue right now, could you try again to run the following commands:

graphql create my-app-test --boilerplate react-fullstack-basic
cd my-app/server
yarn start

Now the server is running and you can open a Playground on http://localhost:4000.

Now again in the root directory of the app run (in a different terminal tab/window since the previous one is occupied by the server):

yarn start

Hey @Jaikant,

I believe the issue was fixed with the most recent update. Please ping me if you're still running into any problems 🙂

commented

@nikolasburk thanks! All is great now 👍

For anyone else arriving here, make sure the endpoint is the same in both database/prisma.yml & .env

Mine was overwritten on a reset and re-deploy from demo cluster service to local.