Skip to content

Commit d5cd301

Browse files
authored
docs(cloudflare): turbopack builds are not suported (#145)
1 parent f230ba4 commit d5cd301

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

pages/cloudflare/troubleshooting.mdx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,20 @@ export async function GET() {
8686
return new Response(JSON.stringify(await client`SELECT * FROM users;`));
8787
}
8888
```
89+
90+
### `Error: Failed to load chunk server/chunks/ssr/<chunk_name>.js`
91+
92+
If you see an error similar to:
93+
94+
```text
95+
✘ [ERROR] ⨯ Error: Failed to load chunk server/chunks/ssr/<chunk_name>.js
96+
97+
at loadChunkPath
98+
(...)
99+
at Object.loadChunk
100+
(...)
101+
at .open-next/server-functions/default/.next/server/app/page.js
102+
```
103+
104+
You are proably using a turbopack enabled build (`next build --turbo`) which is not currently supported by OpenNext.
105+
Change your build command to `next build` to fix the issue.

0 commit comments

Comments
 (0)