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

Error: Module did not self-register #77

Open
Stexxe opened this issue Aug 21, 2020 · 1 comment
Open

Error: Module did not self-register #77

Stexxe opened this issue Aug 21, 2020 · 1 comment
Projects

Comments

@Stexxe
Copy link

Stexxe commented Aug 21, 2020

When I run npm run start I get the following error:

> qusly@0.2.1-alpha start /home/stexe/projects/qusly
> cross-env ENV='dev' electron .

App threw an error during load
Error: Module did not self-register.
    at process.func (electron/js2c/asar.js:140:31)
    at process.func [as dlopen] (electron/js2c/asar.js:140:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1016:18)
    at Object.func (electron/js2c/asar.js:140:31)
    at Object.func [as .node] (electron/js2c/asar.js:140:31)
    at Module.load (internal/modules/cjs/loader.js:816:32)
    at Module._load (internal/modules/cjs/loader.js:728:14)
    at Module._load (electron/js2c/asar.js:717:26)
    at Function.Module._load (electron/js2c/asar.js:717:26)
    at Module.require (internal/modules/cjs/loader.js:853:19)

Node.JS v12.18.3 LTS

I found the solution here and successfully applied it.

I propose to mention this problem and its solution in the README file.

@xnerhu
Copy link
Member

xnerhu commented Aug 21, 2020

I will make so it automatically rebuilds native modules after install (post-install).

@xnerhu xnerhu added this to To do in Roadmap via automation Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Roadmap
  
To do
Development

No branches or pull requests

2 participants