三亩地 三亩地SAN MU DI · CODE DIARY
ARTICLE DETAIL

日记详情

真实记录编程学习的某一天,欢迎挑你感兴趣的翻一翻。

WSL配置Claude code踩坑

WSL配置Claude code踩坑

1.安装完claude后执行:

claude

后报错:

Unable to connect to Anthropic services Failed to connect to api.anthropic.com: ERR_BAD_REQUEST

解决方法:

{ "numStartups": 1, "firstStartTime": "2026-05-16T11:50:14.460Z", "opusProMigrationComplete": true, "sonnet1m45MigrationComplete": true, "seenNotifications": {}, "migrationVersion": 13, "userID": "********", "changelogLastFetched": 1778944363976, # 添加以下代码 "hasCompletedOnboarding": true }
← 返回列表