Commit 2f353de
committed
fix(deploy): install @remotion/lambda so the Vercel build resolves the cloud-render routes
The /api/render/lambda routes import `@remotion/lambda/client`, but the
package was never added to apps/web — Turbopack failed with "Module not
found: @remotion/lambda/client", which is a hard build error that blocked
the Vercel deploy before any runtime env var is read.
- Add @remotion/lambda@4.0.459 (pinned to match the other @Remotion deps)
- Externalize it in next.config so Turbopack doesn't bundle its native side
Verified `next build` succeeds. Note: the Lambda RENDER additionally needs
AWS env vars set in the Vercel dashboard (REMOTION_AWS_REGION,
REMOTION_LAMBDA_SERVE_URL, REMOTION_LAMBDA_FUNCTION_NAME, AWS creds) — those
are a runtime concern, not a build/deploy blocker.1 parent 791589a commit 2f353de
4 files changed
Lines changed: 223 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
0 commit comments