[Bug]: The app is usuable
Summary
I cannot use open work because of this
To Reproduce
I opened my existing open work version and saw this error message.
I manually installed the newest version, followed the prompt, but still had this obstacle
Expected behavior
It should clearly work.
Actual behavior
Not working
Screenshots (optional)
OW version & Desktop info (optional)
No response
Additional context (optional)
No response
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:
| call | value |
|---|---|
app.getPath('home') |
C:\Users\<me> |
app.getPath('appData') |
C:\Users\<me>\AppData\Roaming |
app.getPath('userData') |
C:\Users\<me>\AppData\Roaming\com.differentai.openwork |
os.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:
await fs.mkdir("D:\\youtube", { recursive: true });
// ENOENT: no such file or directory, mkdir '\\?'
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.
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?
closed due to age, please reopen and tag me if still valid