claude-code - 💡(How to fix) Fix [BUG] Claude Code hangs on M1 Mac when terminal says "opening browser to sign in" and browser opens

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

  • Browser error: "Failed to load resource: the server responded with a status of 405 (Method Not Allowed)".
  • Browser warning: "[Intercom] The App ID in your code snippet has not been set."

Code Example

- Browser error: "Failed to load resource: the server responded with a status of 405 (Method Not Allowed)".
- Browser warning: "[Intercom] The App ID in your code snippet has not been set."
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Claude Code hangs on my mac

Terminal (I tried Homebrew and native): I type in "claude"/"claude --debug"/"claude chat", select the text style, select "1. Claude account with subscription". The terminal window says " ✽ Opening browser to sign in…". The browser opens showing "Authorize" and "Decline" and throws a 405 ("Failed to load resource: the server responded with a status of 405 (Method Not Allowed)"). Clicking "Authorize" does nothing. The terminal window hangs. I have to kill the process (CTL+C doesn't stop it).

Desktop app: Claude chat works. Claude Code hangs.

Note: "claude auth login" and "claude --version" work just fine

What Should Happen?

  • After hitting "Authenticate" the browser window is supposed to show "Build something great".
  • The terminal is supposed to show "Login Successful. Press Enter to Continue..."

Error Messages/Logs

- Browser error: "Failed to load resource: the server responded with a status of 405 (Method Not Allowed)".
- Browser warning: "[Intercom] The App ID in your code snippet has not been set."

Steps to Reproduce

  • Open terminal
  • cd project directory
  • type in "claude"
  • select a text style and press enter.
  • "1. Claude account with subscription" and press enter.

The terminal window says " ✽ Opening browser to sign in…" and hangs The browser opens showing "Authorize" and "Decline" and throws a 405 ("Failed to load resource: the server responded with a status of 405 (Method Not Allowed)"). It also shows this warning "[Intercom] The App ID in your code snippet has not been set."

Claude Model

None

Is this a regression?

No, this never worked

Last Working Version

N/A (never worked on my machine)

Claude Code Version

2.1.144 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

M1 Mac running OS X Sonoma 14.7.4.

  • Tried Safari and Chrome.
  • Uninstalled and reinstalled Claude Code various times.
  • Tried Claude Desktop, Homebrew and native.
  • I was getting the same error in version 2.1.142
<img width="986" height="686" alt="Image" src="https://github.com/user-attachments/assets/2e70ed58-1e28-487c-b728-1f9ad7c237b8" /> <img width="2006" height="1300" alt="Image" src="https://github.com/user-attachments/assets/6d10a8c7-278b-499c-b122-49fb2233af60" />

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING