Skip to content

[WARNING] The package "node:async_hooks" wasn't found on the file system but is built into node. #13668

@frederichoule

Description

@frederichoule

Describe the bug

After upgrading:

  • sveltekit: 2.19.1 to 2.20.3
  • svelte: 5.23.0 to 5.25.6

Cloudflare now complains that "node:async_hooks" is being imported by _worker.js. This notice wasn't there on previous builds/previous versions.

Image

Reproduction

You can create by creating a new Sveltekit project (using npx sv create) and deploying as Cloudflare pages.

Logs

System Info

N/A

Severity

annoyance

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingp2-nice-to-haveSvelteKit cannot be used by a small number of people, quality of life improvements, etc.pkg:adapter-cloudflare

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions