[BUG] Bun can't access npm registry in CC web
Resolved 💬 3 comments Opened Jan 3, 2026 by arkaydeus Closed Jan 7, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When you use use a repo that uses bun or try to convert an npm repo over to bun, claude close Web can't access the npm registry and will revert you back to NPM.
<img width="1320" height="2400" alt="Image" src="https://github.com/user-attachments/assets/20790340-f54b-41b5-8f16-44d4a66c9894" />
What Should Happen?
Access to NPM registries should be allowed for bun in claude code web
Error Messages/Logs
Http 401 when trying to access npm registries when converting an npm project to bun
Steps to Reproduce
- Create a new project. Claude will use npm by default.
- Install some packages
- Create a new session and ask claude to convert from npm to bun
It will fail due to access
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
Latest web
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Non-interactive/CI environment
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗