Files
everything-claude-code/docs/zh-CN/commands/build-fix.md
zdoc 88054de673 docs: Add Chinese (zh-CN) translations for all documentation
* docs: add Chinese versions docs

* update

---------

Co-authored-by: neo <neo.dowithless@gmail.com>
2026-02-05 05:57:54 -08:00

30 lines
645 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 构建与修复
逐步修复 TypeScript 和构建错误:
1. 运行构建npm run build 或 pnpm build
2. 解析错误输出:
* 按文件分组
* 按严重性排序
3. 对于每个错误:
* 显示错误上下文(前后 5 行)
* 解释问题
* 提出修复方案
* 应用修复
* 重新运行构建
* 验证错误是否已解决
4. 在以下情况停止:
* 修复引入了新的错误
* 同一错误在 3 次尝试后仍然存在
* 用户请求暂停
5. 显示摘要:
* 已修复的错误
* 剩余的错误
* 新引入的错误
为了安全起见,一次只修复一个错误!