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

Fails to start without a package installed #3

Closed
Ruthenic opened this issue Oct 7, 2021 · 1 comment
Closed

Fails to start without a package installed #3

Ruthenic opened this issue Oct 7, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@Ruthenic
Copy link
Contributor

Ruthenic commented Oct 7, 2021

When launching Discord without any packages in the package directory, it crashes on boot.
See crash log:

$ discord
Loading Kernel.
A JavaScript error occurred in the main process
Uncaught Exception:
TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at Object.getOgre (/home/ruthenic/Kernel/electron/dist/kernel.asar/core/packageLoader/getOgre.js:67:34)
    at Object.<anonymous> (/home/ruthenic/Kernel/electron/dist/kernel.asar/index.js:72:42)
    at Module._compile (internal/modules/cjs/loader.js:967:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1004:10)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Module._load (internal/modules/cjs/loader.js:727:14)
    at Function.Module._load (electron/js2c/asar.js:769:28)
    at Module.require (internal/modules/cjs/loader.js:852:19)
    at require (internal/modules/cjs/helpers.js:74:18)
@Kyza Kyza added the bug Something isn't working label Oct 7, 2021
@Kyza
Copy link
Contributor

Kyza commented Oct 7, 2021

Fixed in 8155b82.

@Kyza Kyza closed this as completed Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants