Commit f01a04b
ci(observer): fix ERESOLVE in dashboard deploy from wrangler peer bump (#245)
The deploy step runs `npx @cloudflare/next-on-pages@1`, whose ephemeral
install resolves the latest wrangler (4.108.0). That wrangler now peers on
@cloudflare/workers-types@^5, while next-on-pages peers on ^4, so npm aborts
the tree with ERESOLVE and the deploy fails.
Pin next-on-pages to 1.13.16 and set NPM_CONFIG_LEGACY_PEER_DEPS so the
optional-peer mismatch no longer blocks the install.
Claude-Session: https://claude.ai/code/session_01DatJJXxGLYDdgTWzT9zncq
Co-authored-by: Claude <noreply@anthropic.com>1 parent 4f8d2eb commit f01a04b
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
0 commit comments