Skip to content

[Bug]: The app is usuable #3137

Closed
Closed

Description

@krixx646

Summary

I cannot use open work because of this

Image

To Reproduce

I opened my existing open work version and saw this error message.

Image

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)

Image

OW version & Desktop info (optional)

No response

Additional context (optional)

No response

Activity

  1. added
    bug
    on Jul 25, 2026
  2. krixx646 commented on Jul 25, 2026

    @krixx646
    Author

    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 '\\?'
  3. Pallavikumarimdb commented on Jul 27, 2026

    @Pallavikumarimdb

    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.

  4. krixx646 commented on Jul 27, 2026

    @krixx646
    Author

    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?

  5. OmarMcAdam commented on Oct 28, 2026

    @OmarMcAdam
    Member

    closed due to age, please reopen and tag me if still valid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions