Skip to content

Cloudflare Workers deployment documentation is broken #7462

@janpio

Description

@janpio

I tried to follow https://www.prisma.io/docs/orm/prisma-client/deployment/edge/deploy-to-cloudflare#database-specific-considerations--examples, but ran into problem a few times that made it impossible to actually follow the documentation.

A few things that I remember that needed fixing or changes along the way:

  • wrangler.toml is not available any more in the project by default, isntead wrangler.jsonc is used
  • node_compat does not exist any more either, instead nodejs_compat via wrangler.jsonc
  • The paths of the generated Prisma Client did not seem to work out in the case of a worker project
  • runtime = "workerd" is not mentioned on the page although it seems to be required for Cloudflare Workers deployment with 7.3.0
  • wrangler dev is currently broken on Windows: Prisma Client ENOENT cloudflare/workers-sdk#11535

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions