Skip to content

"undefined path" when opening the theme file dialog #144

@gcaptn

Description

@gcaptn

I'm using the v7.1.5 build on Windows 10. This is the stack trace:

internal/fs/utils.js:426
Uncaught TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be one of type string, Buffer, or URL. Received type undefined
    at Object.readFile (fs.js:302)
    at Object.fs.readFile (electron/js2c/asar.js:485)
    at Object.fs.readFile (electron/js2c/asar.js:485)
    at Theme.open (D:\Left\resources\app\sources\scripts\lib\theme.js:81)
    at index.html:85
    at CallbacksRegistry.apply (callbacks-registry.ts:45)
    at remote.js:286
    at EventEmitter.<anonymous> (remote.js:276)
    at EventEmitter.emit (events.js:203)
    at Object.onMessage (init.ts:50)

Repro: Open the "Open Theme" dialog.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions