Bun issue (Dec 3): Bun Windows Recursive Mkdir Throws EEXIST for Relative Paths
Is it fixed? Not yet.
Ongoing since Dec 3, 21:06 UTC. First reported Dec 3, 21:06 UTC.
What happened
On Windows, Bun 1.4.5 throws an EEXIST error when calling fs.mkdirSync or fs.promises.mkdir with recursive: true on an existing directory named by a relative path containing '.' or '..'. Node successfully returns without error for the same call.
What caused it?
Under active investigation. No report has identified a root cause yet.
No verified workaround yet
None of the linked reports describe a mitigation. This page updates when one appears.
Outage timeline
- Investigating(current)
- Workaround available(upcoming)
- Resolved(upcoming)
- First report on GitHub issue
Windows: recursive mkdir throws EEXIST for an existing directory named by a relative path with '.' or '..'
Source
Reports of this outage
1 report · 1 GitHubShow
- [1]GitHub First reportWindows: recursive mkdir throws EEXIST for an existing directory named by a relative path with '.' or '..'(opens GitHub issue in a new tab)
What version of Bun is running? 1.4.5 What platform is your computer? Microsoft Windows 11 Pro 10.0.26300 x64, NTFS What steps can reproduce the bug? On Windows, fs.mkdirSync(path, { recursive: true }) throws EEXIST when path is an existing directory named by a relative path containing ... fs.promises.mkdir throws the same error. There's no ACL or permission involved. Node returns without error for the same call. // repro.mjs. Run from any directory that has a parent: bun repro.mjs / node…
by MarkStega 0upvotes 0comments
Bun issue FAQ
What happened in the Bun issue, and why?
Ongoing since Dec 3, 21:06 UTC. No cause has been published yet; this page adds it once the vendor or a report explains it.
What is affected by the Bun issue?
Bun (versions: 1.4.5).
When did the Bun issue start and end?
It started Dec 3, 21:06 UTC and is still ongoing (4 h 8 min so far). This page updates as it develops.
How do I get alerts for Bun?
Subscribe to the Bun RSS feed for every new Bun incident, or connect an AI assistant to WhatBrokeToday over MCP and ask whether Bun is down. Bun feed
Where does this information come from?
WhatBrokeToday collects public status pages, developer community reports and security advisories, groups the ones about the same problem, and links every report under Evidence on this page. This one has 1 report from 1 independent source.