Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gcaptn opened this issue Mar 21, 2021 · 1 comment · May be fixed by #146
Open

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

gcaptn opened this issue Mar 21, 2021 · 1 comment · May be fixed by #146

Comments

@gcaptn
Copy link

gcaptn commented Mar 21, 2021

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.

@neauoire
Copy link
Member

Thanks, I'll have a look :)

@gcaptn gcaptn linked a pull request Apr 14, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants