#6551·Zettlr

Crash on startup: Unhandled FSAL error when workspace contains an external `.asar` archive (`Cannot load file ... as it is a directory`)

Author: ilsmdCreated Sep 8, 2026Updated Sep 8, 2026
Labelsbug

Description

If an open workspace contains an extracted Electron application or archive (e.g., resources/app.asar), Zettlr crashes silently during startup with exit code 1 and cannot be opened again until config.json is manually edited to remove the workspace.

Reproducing

  1. Open a directory containing an Electron .asar file (e.g., an extracted Electron app or package containing resources/app.asar) as a workspace.
  2. Close Zettlr.
  3. Attempt to launch Zettlr again.
  4. The application exits immediately with code 1; no GUI window appears.

Zettlr version

4.7.0

Installation Method

From the Website or GitHub

Installation Method (Other)

Zettlr-4.7.0-x64.exe

Your Platform

  • Windows
  • macOS
  • Linux

Architecture

  • Intel 64bit
  • ARM 64bit (includes Apple Silicon)

Operating System Version

Windows 11

Additional Information

Terminal / Stderr Output:

Error: [FSAL] Cannot load file <path>\app.asar as it is a directory
    at P.getDescriptorForAnySupportedFile (...)
    at async P.getDescriptorFor (...)
    at async P.reindexFiles (...)
    at async t.AppServiceContainer.boot (...)
    at async t.bootApplication (...)

log-extract.log