Commit 6476902
authored
fix(frontend): downgrade to stable React 18 & Next.js 15 to resolve CI build error
The CI workflow was failing with 'Cannot read properties of undefined (reading ReactCurrentBatchConfig)' error.
Root cause: Next.js 16.1.6 (unstable) with React 19 caused compatibility issues.
Fix:
- Downgraded Next.js from 16.1.6 → 15.1.6 (stable)
- Downgraded React from 19.2.3 → 18.3.1 (stable with Next.js 15)
- Downgraded React-DOM from 19.2.3 → 18.3.1 (to match React version)
This should resolve all 3 CI build failures (#14, #15, #16).1 parent 00b0d66 commit 6476902
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments