Loading...
Loading...
Compare original and translation side by side
localhost:<buildover-port>buildoverbuildoverbuildover devbuildover-serverbuildover-widgetlocalhost:<buildover-port>buildoverbuildoverbuildover devbuildover-serverbuildover-widgetbuildover --version 2>/dev/null || npx buildover --version 2>/dev/nullbuildover --version 2>/dev/null || npx buildover --version 2>/dev/nullnpm install -g buildovernpm install --save-dev buildovernpm install -g buildovernpm install --save-dev buildoverundefinedundefinedpackage.jsoncat package.json | grep -E '"dev"|"start"'30005173420080808000package.jsoncat package.json | grep -E '"dev"|"start"'30005173420080808000grep "ANTHROPIC_API_KEY" .env 2>/dev/null || echo "not set".envANTHROPIC_API_KEY=sk-ant-...The proxy and widget work without a key — only AI chat requires it.
grep "ANTHROPIC_API_KEY" .env 2>/dev/null || echo "not set".envANTHROPIC_API_KEY=sk-ant-...即使没有密钥,代理和组件仍可正常工作——仅AI聊天功能需要密钥。
undefinedundefined
Default `--port` is `4100`. Use `10001` to avoid common conflicts.
**Example** (Next.js on 3000, BuildOver on 10001):
```bash
buildover dev --target 3000 --port 10001
默认`--port`为`4100`。使用`10001`可避免常见端口冲突。
**示例**(Next.js运行在3000端口,BuildOver运行在10001端口):
```bash
buildover dev --target 3000 --port 10001undefinedundefinedundefinedundefined
Create `~/.cloudflared/config.yml`:
```yaml
tunnel: <tunnel-id>
credentials-file: /Users/<username>/.cloudflared/<tunnel-id>.json
ingress:
- hostname: your-subdomain.yourdomain.com
service: http://localhost:<buildover-port>
- service: http_status:404cloudflared tunnel run <tunnel-name>
创建`~/.cloudflared/config.yml`文件:
```yaml
tunnel: <tunnel-id>
credentials-file: /Users/<username>/.cloudflared/<tunnel-id>.json
ingress:
- hostname: your-subdomain.yourdomain.com
service: http://localhost:<buildover-port>
- service: http_status:404cloudflared tunnel run <tunnel-name>⚠ No authentication configuredhttp://localhost:<buildover-port>[Agent]⚠ No authentication configuredhttp://localhost:<buildover-port>[Agent]| Issue | Fix |
|---|---|
| |
| Add |
| Chat sends but no code changes | Check server logs for |
| Widget not visible | Hard-refresh; check |
| HMR not working | Start the original dev server before BuildOver |
| 问题 | 解决方法 |
|---|---|
BuildOver端口出现 | 执行 |
出现 | 将 |
| 发送聊天消息但无代码变更 | 检查服务器日志中的 |
| 组件不可见 | 强制刷新页面;检查 |
| HMR无法工作 | 先启动原开发服务器,再启动BuildOver |