Skip to content

Unexpected error: The "path" argument must be of type string. Received type object #2355

Description

@whatshu

Description

An unexpected error occurred in the main process.

Stack Trace

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type object
    at validateString (internal/validators.js:112:11)
    at Object.isAbsolute (path.js:1030:5)
    at IpcMainImpl.<anonymous> (/Applications/Mark Text.app/Contents/Resources/app.asar/dist/electron/main.js:2:235097)
    at IpcMainImpl.emit (events.js:210:5)
    at WebContents.<anonymous> (electron/js2c/browser_init.js:3908:15)
    at WebContents.emit (events.js:210:5)

Version

Mark Text: v0.16.2
Operating system: Darwin x64 19.6.0 (darwin)

Activity

  1. added
    🐛 bug
    🐞 pri/critical
    on May 16, 2026
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🐞 pri/critical

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions