Skip to content

v8.11.0 UnhandledSchemeError when bundling with Webpack #2975

Closed
@andrew-pledge-io

Description

@andrew-pledge-io

This line introduced in this PR is causing errors in Webpack builds.

Webpack compilation failed:
in cloudflare:sockets
  Module build failed: UnhandledSchemeError: Reading from "cloudflare:sockets" is not handled by plugins (Unhandled scheme).
  Webpack supports "data:" and "file:" URIs by default.
  You may need an additional plugin to handle "cloudflare:" URIs.

This occurred after a minor update to the pg package from v8.10.0 to v8.11.0 when the pg-cloudflare package was added as an optional dependency.

For now, we've reverted to v8.10.0.

I expect this will affect a lot of people using Webpack as they start to update.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions