diff --git a/pages/cloudflare/howtos/workerd.mdx b/pages/cloudflare/howtos/workerd.mdx index 9fbb0ff..9ad945e 100644 --- a/pages/cloudflare/howtos/workerd.mdx +++ b/pages/cloudflare/howtos/workerd.mdx @@ -40,7 +40,9 @@ export default nextConfig; ### Packages known to have `workerd` specific code -- `postgres` +- `@libsql/isomorphic-ws` - `@prisma/client` (and the generated `.prisma/client`) +- `jose` +- `postgres` Please report an issue on [the adapter GH repository](https://github.com/opennextjs/opennextjs-cloudflare/issues) to have packages added to this list. diff --git a/pages/cloudflare/troubleshooting.mdx b/pages/cloudflare/troubleshooting.mdx index 8baac43..9dfc7e9 100644 --- a/pages/cloudflare/troubleshooting.mdx +++ b/pages/cloudflare/troubleshooting.mdx @@ -103,3 +103,17 @@ If you see an error similar to: You are proably using a turbopack enabled build (`next build --turbo`) which is not currently supported by OpenNext. Change your build command to `next build` to fix the issue. + +### `X [ERROR] Could not resolve ""` + +When you see the following error during the build: + +```text +⚙️ Bundling the OpenNext server... + +X [ERROR] Could not resolve "" +``` + +It might be because the package contains workerd specific code. + +Check this [howto](/cloudflare/howtos/workerd) for a solution.