Open filipe-freire opened 4 days ago
After some triaging, the issue seems to be due to the package paraglide
, as installing the following combination of packages prettier, eslint, vitest, tailwindcss, drizzle
seems to not trigger the error, making the deployment go through successfully.
I also found this page, which shows that node:async_hooks
is not yet supported by WorderD & Wrangler, although I'm not 100% sure how up-to-date the info is here.
If anyone is more knowledgeable about this issue/domain, please feel free to pitch in :)
Which Cloudflare product(s) does this pertain to?
Pages
What version(s) of the tool(s) are you using?
3.91.0 [Wrangler], 9.13.2 [pnpm]
What version of Node are you using?
22.11.0
What operating system and version are you using?
Linux (Pop!_OS jammy 22.04 x86_64) | Kernel: Linux 6.9.3-76060903-generic
Describe the Bug
Observed behavior
Upon running the step to jumpstart a new sveltekit project through the CLI shown in the Cloudflare website, all appears to run smoothly (with no errors on the terminal) up until the "DNS propagation/waiting for the deployment to become available" step.
Right after "DNS propagation complete." the terminal outputs
timed out while waiting for https://<project-name>.pages.dev - try accessing it in a few minutes.
.Upon waiting +30min, the page is still showing a 500 Internal Server Error. Inspecting the cloudflare pages logs show an error: ` No such module "node:async_hooks"
My best guess is that some 3rd party library integration is requiring that module causing it to show, since choosing a simple sveltekit app with no integrations does not cause the error and the deployment goes through without issue. I'll update the issue with my findings.
Expected behavior
The CFPages project should deploy successfully without any errors.
Steps to reproduce
pnpm create cloudflare@latest my-svelte-app --framework=svelte
Chosen CLI options:
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
The redacted error log shown in the CFPages dashboard for the project: