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

Cannot find module 'electron-json-config' #11

Closed
tinloaf opened this issue Nov 12, 2020 · 1 comment
Closed

Cannot find module 'electron-json-config' #11

tinloaf opened this issue Nov 12, 2020 · 1 comment
Labels
status:duplicate This issue or pull request already exists

Comments

@tinloaf
Copy link

tinloaf commented Nov 12, 2020

I'm trying to run 2.0-rc1 on my retro Pi (which is a raspbian under the hood, I think). Version 1.5 segfaults when I try to start it…

Starting 2.0-rc1 gives me this error:

A JavaScript error occurred in the main process
Uncaught Exception:
Error: Cannot find module 'electron-json-config'
Require stack:
- /home/tinloaf/discord/electron-discord-webapp-0.2.0-rc1-armv7l/resources/app.asar/js/main.js
-
    at Module._resolveFilename (internal/modules/cjs/loader.js:961:15)
    at Function.o._resolveFilename (electron/js2c/browser_init.js:257:921)
    at Module._load (internal/modules/cjs/loader.js:844:27)
    at Function.Module._load (electron/js2c/asar.js:769:28)
    at Module.require (internal/modules/cjs/loader.js:1023:19)
    at new require (internal/modules/cjs/helpers.js:77:18)
    at Object.<anonymous> (/home/tinloaf/discord/electron-discord-webapp-0.2.0-rc1-armv7l/resources/app.asar/js/main.js:6:19)
    at Module._compile (internal/modules/cjs/loader.js:1145:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1166:10)
    at Module.load (internal/modules/cjs/loader.js:981:32)
Segmentation fault

I'm really not a JavaScript / Node.js / Electron guy, but that looks like something that should be packaged is not packaged?

@SpacingBat3 SpacingBat3 added the status:duplicate This issue or pull request already exists label Nov 12, 2020
@SpacingBat3
Copy link
Owner

Duplicate of #9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants