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

Unable to start due to NodeJS issue #5

Open
JonaKms opened this issue May 28, 2020 · 0 comments
Open

Unable to start due to NodeJS issue #5

JonaKms opened this issue May 28, 2020 · 0 comments

Comments

@JonaKms
Copy link

JonaKms commented May 28, 2020

I've used both the latest version and the LTS version of NodeJS when doing this, and get the same result either way. I use npm install then make, and when trying to run the built electron application I always get this error.

$ /home/jona/Downloads/web-runner/build/web-x86_64/electron/electron
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Cannot find module 'is-url-superb'
    at Module._resolveFilename (internal/modules/cjs/loader.js:584:15)
    at Function.Module._resolveFilename (/home/jona/Downloads/web-runner/build/web-x86_64/electron/resources/electron.asar/common/reset-search-paths.js:43:12)
    at Function.Module._load (internal/modules/cjs/loader.js:510:25)
    at Module.require (internal/modules/cjs/loader.js:640:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (/home/jona/Downloads/web-runner/build/web-x86_64/electron/resources/app.asar/main.js:6:15)
    at Object.<anonymous> (/home/jona/Downloads/web-runner/build/web-x86_64/electron/resources/app.asar/main.js:184:3)
    at Module._compile (internal/modules/cjs/loader.js:693:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:704:10)
    at Module.load (internal/modules/cjs/loader.js:602:32)

So I then just scrapped everything then did npm install again, but this time I also make sure to npm install is-url-superb as well. After confirming is-url-superlib was in the node-modules directory, I make and try the newly built application. Yet again getting the same error. Not sure what else to do.

@JonaKms JonaKms closed this as completed May 28, 2020
@JonaKms JonaKms reopened this May 28, 2020
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

No branches or pull requests

1 participant