opencode icon indicating copy to clipboard operation
opencode copied to clipboard

EPERM: operation not permitted, open 'B:\~BUN\locales\en_US.json'

Open Zixuan9913 opened this issue 1 day ago • 1 comments

Description

Hi community, I tried to install it in both CLI and Desktop, however it consistantly gives me the same error

service=default name=Error message=EPERM: operation not permitted, open 'B:~BUN\locales\en_US.json' stack=Error: EPERM: operation not permitted, open 'B:~BUN\locales\en_US.json'

I dont understand where is B:~BUN\locales\en_US.json, I cant find it in the code either. I have bun installed and I tried to install with scoop and bun, and also directly the desktop. But the same error. Is it a bug or how can I fix it? Thank you very much

Plugins

No response

OpenCode version

1.1.19

Steps to reproduce

Direct instalation desktop

Screenshot and/or share link

Image

Operating System

No response

Terminal

No response

Zixuan9913 avatar Jan 14 '26 12:01 Zixuan9913

This issue might be a duplicate of existing issues. Please check:

  • #7685: [Windows 10] oh-my-opencode installation fails with EPERM: Operation not permitted (NtSetInformationFile()) - This issue also reports an EPERM error on Windows when attempting to open/access files during OpenCode installation, specifically related to Bun's file handling on Windows

Feel free to ignore if none of these address your specific case.

github-actions[bot] avatar Jan 14 '26 12:01 github-actions[bot]