fetch failed error in creating payload app with create-payload-app #9150
-
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
Please add a reproduction in order for us to be able to investigate. Depending on the quality of reproduction steps, this issue may be closed if no reproduction is provided. Why was this issue marked with the
|
Beta Was this translation helpful? Give feedback.
-
Experienced this same issue as well. Tried both templates (website and blank) and tried both SQLite and Postgres. Also switched out using pnpm for npm but still encountered |
Beta Was this translation helpful? Give feedback.
-
Just to follow up I got this working by running the command while using a VPN. @r1tsuu this could be a user DNS issue, which is why it might be hard to reproduce. @lokinderchauhan you can try this and see if it resolves. TLDR: Since there was no reference to 'fetch failed' error in the repo, I suspected it might be an error passing from the registry. During my research, I found a similar situation with Nuxt (nuxt/nuxt#21853). One user suggested changing the DNS settings and another recommended a VPN. Since I'm also using WSL2, trying a VPN first seemed easier than reconfiguring my DNS settings. Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
Hey @darrenbutcher I think you're exactly right. I'll convert this to a discussion so that if others come across this, they'll see your notes. Thank you! |
Beta Was this translation helpful? Give feedback.
-
Just in case anyone else stumbles across the fetch issue on install. After debugging my issue was relating to self-signed certs being in the install. This is relating to how my mac is set-up I think. Anyway this got me past the install isssues.
Note on this. For Local Development Only: |
Beta Was this translation helpful? Give feedback.
Just to follow up I got this working by running the command while using a VPN. @r1tsuu this could be a user DNS issue, which is why it might be hard to reproduce. @lokinderchauhan you can try this and see if it resolves.
TLDR: Since there was no reference to 'fetch failed' error in the repo, I suspected it might be an error passing from the registry. During my research, I found a similar situation with Nuxt (nuxt/nuxt#21853). One user suggested changing the DNS settings and another recommended a VPN. Since I'm also using WSL2, trying a VPN first seemed easier than reconfiguring my DNS settings. Hope this helps.