Wood Chen

claude code Error: Unable to connect to API due to poor internet connection

0 comments341 views197 words

This post was translated from Chinese by AI. If anything reads oddly, the Chinese original is authoritative. 中文原文

I didn't save any screenshots.

Today I installed Google's Antigravity, Antigravity Tools, cc-switch, and a few other tools. After trying them, I found they didn't work well for me, so I uninstalled them all.

Then claude code stopped working.

The trouble was that no errors showed up in vs code—it just kept waiting. I only found out when I tried it in the terminal.

I tried the following steps and eventually got it working again, but I still don't know what caused the problem.

Trying to update claude

I ran claude install to install the native version, but it didn't work. I couldn't even launch claude from the terminal. Then I uninstalled it, reinstalled it, and finally went back to installing it with npm. After all that, I was basically back where I started.

What might have helped

In the C:\Users\wood\.claude directory, I deleted everything except CLAUDE.md, then restarted the terminal and reinstalled the npm version of claude.

Then I ran claude directly in the terminal, and it seemed to work again.

If you run into the same problem, you could give this a try

Related posts

Comments 0