Can't load graphql playground after successfully deploying Prisma


After deploying Prisma to a local Postgres using Docker, the localhost:4466 is stuck at “Loading Graphql Playground”. Console shows two errors:

  1. Uncaught SyntaxError: Invalid or unexpected token
  2. Uncaught ReferenceError: GraphQLPlayground is not defined at default:52

Did a Google search on this error and I can’t seem to find an answer. Can someone help please?



Seems like it’s related to node-fetch. When I look into the first error, it shows “fetch is not found globally and no fetcher passed”. Installed node-fetch and imported it in the server code, but still not working.


Looks like it was due to package inconsistency - a bug caused by CRA (which is being fixed right now it seems). Fixing the babel-loader inconsistency fixed the issue. Sorry for the false alarm!


No problems.

Feel free to open a new post again in the future :slight_smile:


This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.