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

Getting version conflict in Electron. #143

Open
cyrilgupta opened this issue Jun 23, 2022 · 2 comments
Open

Getting version conflict in Electron. #143

cyrilgupta opened this issue Jun 23, 2022 · 2 comments

Comments

@cyrilgupta
Copy link

Hi!

I can run this in node, but when I try to run it in Electron I am getting the error below. Already tried npm rebuild and it's not resolving the issue.

Any clues?

The issue is below

UnhandledPromiseRejectionWarning: Error: The module '..\client\node_modules\ref-wchar-napi\node_modules\iconv\build\Release\iconv.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 93. This version of Node.js requires
NODE_MODULE_VERSION 106. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).

@jove0610
Copy link

jove0610 commented Jun 29, 2022

Try using electron-rebuild

npm install --save-dev electron-rebuild

.\node_modules\.bin\electron-rebuild.cmd

@txj-xyz
Copy link

txj-xyz commented Jul 9, 2022

Seems that github actions randomly decides to not build the natives.

Not really sure whats going on but is there a way we can patch this?

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

3 participants