Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: fetch failed - Running locally #195

Open
liamrohan opened this issue Jun 30, 2023 · 0 comments
Open

TypeError: fetch failed - Running locally #195

liamrohan opened this issue Jun 30, 2023 · 0 comments

Comments

@liamrohan
Copy link

Hi there,

Trying to run locally with data from https://cms.payloadcms.com as mentioned in the .env file.

Have followed setup instructions though keep running into:

- error TypeError: fetch failed
- error TypeError: fetch failed
- error TypeError: fetch failed
digest: "215226357"

-  ┌ GET / 200 in 103ms
   │
   ├──── POST http://localhost:8000/api/graphql?page=home 200 in 1ms (cache: HIT)
   │
   └── 1 level ── POST http://localhost:8000/api/graphql?globals 200 in 1ms (cache: HIT)

Not sure why the fetch keeps failing (graphql noob)

localhost:3000 and local.payloadcms.com:3000 is blank with:

Screenshot 2023-06-30 at 09 45 34

Have cloned the your cms repo and entered some dummy data, still the same issue :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant