You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same error message, different root cause — worth checking before landing #3134.
I hit ENOENT: no such file or directory, mkdir '\\?' on the boot screen, but on my
machine it had nothing to do with Electron returning verbatim \\?\ paths. I dumped
every path from the running main process and they were all clean:
During boot, OpenWork checks all registered local workspaces and runs fs.mkdir(..., { recursive: true }) on their paths. If a workspace is on an unplugged or missing drive, Node/Bun throws that ENOENT ... mkdir '\\?' error, crashing the app startup. I've wrapped this workspace check in a try/catch block so the app logs a warning and proceeds to boot normally instead of crashing. I'll open a PR with the fix and test coverage.
Activity
krixx646 commentedon Jul 25, 2026
Same error message, different root cause — worth checking before landing #3134.
I hit
ENOENT: no such file or directory, mkdir '\\?'on the boot screen, but on mymachine it had nothing to do with Electron returning verbatim
\\?\paths. I dumpedevery path from the running main process and they were all clean:
app.getPath('home')C:\Users\<me>app.getPath('appData')C:\Users\<me>\AppData\Roamingapp.getPath('userData')C:\Users\<me>\AppData\Roaming\com.differentai.openworkos.homedir()C:\Users\<me>The actual trigger: a registered workspace pointing at a drive that no longer exists
(an external drive I had unplugged the day before).
Minimal reproduction, no Electron required:
Pallavikumarimdb commentedon Jul 27, 2026
During boot, OpenWork checks all registered local workspaces and runs
fs.mkdir(..., { recursive: true })on their paths. If a workspace is on an unplugged or missing drive, Node/Bun throws thatENOENT ... mkdir '\\?'error, crashing the app startup. I've wrapped this workspace check in a try/catch block so the app logs a warning and proceeds to boot normally instead of crashing. I'll open a PR with the fix and test coverage.krixx646 commentedon Jul 27, 2026
Thanks, I will be awaiting the fix, probably on the next update. I would love to contribute to this project. Who do I meet to be joined up?
OmarMcAdam commentedon Oct 28, 2026
closed due to age, please reopen and tag me if still valid