[Bug] GitHub Authentication Failure: Unable to Create PRs with gh CLI

Resolved 💬 3 comments Opened Sep 19, 2025 by Jason-Mendes Closed Sep 30, 2025

Bug Description
Github PR's never get created, they always run into this error <{["Error: HTTP 401: Bad credentials (https://api.github.com/graphql)
Try authenticating with: gh auth login"]}>

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 1.0.119
  • Feedback ID: 42756608-866f-48f6-965b-d792dfbea7cb

Errors

[{"error":"Error: Could not load the \"sharp\" module using the darwin-arm64 runtime\nPossible solutions:\n- Ensure optional dependencies can be installed:\n    npm install --include=optional sharp\n- Ensure your package manager supports multi-platform installation:\n    See https://sharp.pixelplumbing.com/install#cross-platform\n- Add platform-specific dependencies:\n    npm install --os=darwin --cpu=arm64 sharp\n- Consult the installation documentation:\n    See https://sharp.pixelplumbing.com/install\n    at <anonymous> (/$bunfs/root/claude:122:38363)\n    at <anonymous> (/$bunfs/root/claude:12:838)\n    at <anonymous> (/$bunfs/root/claude:123:78)\n    at <anonymous> (/$bunfs/root/claude:12:838)\n    at <anonymous> (/$bunfs/root/claude:123:79845)\n    at <anonymous> (/$bunfs/root/claude:12:838)\n    at <anonymous> (/$bunfs/root/claude:708:1707)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-09-19T17:10:22.480Z"},{"error":"Error: Shell 6061dc is not running, so cannot be killed (status: completed)\n    at call (/$bunfs/root/claude:3377:1757)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-09-19T17:33:44.010Z"},{"error":"TypeError: (Y.default||Y) is not a function. (In '(Y.default||Y)(Z)', '(Y.default||Y)' is an instance of Object)\n    at tl (/$bunfs/root/claude:708:1730)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-09-19T17:41:48.882Z"},{"error":"Error: Request was aborted.\n    at new Q5 (unknown:1:28)\n    at new MY (/$bunfs/root/claude:842:1962)\n    at new tQ (/$bunfs/root/claude:842:2748)\n    at _createMessage (/$bunfs/root/claude:850:7955)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-09-19T17:50:59.360Z"}]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗