Skip to content

Unexpected error: Cannot set properties of undefined (setting 'resolvePath') #3797

Closed

Description

@linavaos

Description

An unexpected error occurred in the renderer process.

Stack Trace

TypeError: Cannot set properties of undefined (setting 'resolvePath')
    at configureLogger (webpack-internal:///./src/renderer/bootstrap.js:29:85)
    at bootstrapRenderer (webpack-internal:///./src/renderer/bootstrap.js:107:3)
    at eval (webpack-internal:///./src/renderer/main.js:116:56)
    at Module../src/renderer/main.js (http://localhost:9091/renderer.js:2918:1)
    at __webpack_require__ (http://localhost:9091/renderer.js:17141:33)
    at http://localhost:9091/renderer.js:18358:37
    at http://localhost:9091/renderer.js:18361:12

Version

MarkText: v0.17.1 (cd84529)
Operating system: Windows_NT x64 10.0.22631 (win32)

Activity

  1. added
    🐛 bug
    🐞 pri/critical
    on May 13, 2026
  2. Jocs commented on May 23, 2026

    @Jocs
    Member

    Closing — this crash was reported against the legacy webpack-bundled build (the stack trace points into dist/electron/renderer.js / dist/electron/main.js / webpack:/marktext/..., which no longer exists).

    The renderer + main process were rewritten on top of electron-vite in PR #4001 (commit 85607dd, shipped in 0.18.x). Many of the crash sites referenced in stacks like this were either rewritten, replaced, or now sit behind explicit guards. The general "Unexpected error" surface was also re-audited and given regression tests in PR #4268.

    Please upgrade to the latest 0.18.x build. If you still hit a crash on a recent build, please reopen with the new MarkText version and the steps that triggered it — the new stack traces will point us to the actual current code.

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