Skip to content

Commit f877bfb

Browse files
rayson951005@gmail.comcodex
andcommitted
fix(web): dev script 移除 --turbopack flag,改用稳定 next dev
Turbopack(Next.js 15 default fast bundler)在本仓库表现不稳定: - `.next/server/pages/_document.js` 报 `Cannot find module '../chunks/ssr/[turbopack]_runtime.js'` stale chunk error - Codex 之前调研 live e2e 也遇到 `next/font/google` 模块解析 fail - live-memory-chain runner 因此已经强制用普通 `next dev`(非 Turbopack) dev script 也对齐到普通 next dev,避免 user 跑本地开发时反复遇到 缓存损坏 / module 解析失败。 代价:dev 启动稍慢(~3-5s),但 hot reload 稳定可靠。需要时可手动加回 --turbopack。 Co-authored-by: Codex <noreply@openai.com>
1 parent 9c4d30f commit f877bfb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "module",
66
"description": "Quilin Agent Web UI — Next.js 15 + React 19 + AI Elements (QUI-154 Phase 1).",
77
"scripts": {
8-
"dev": "next dev --turbopack -p 3000 -H 127.0.0.1",
8+
"dev": "next dev -p 3000 -H 127.0.0.1",
99
"build": "next build",
1010
"build:stable-3008": "QUILIN_STABLE_BUILD=1 next build",
1111
"start": "next start -p 3000 -H 127.0.0.1",

0 commit comments

Comments
 (0)