get-windows icon indicating copy to clipboard operation
get-windows copied to clipboard

Getting version conflict in Electron.

Open cyrilgupta opened this issue 2 years ago • 2 comments

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).

cyrilgupta avatar Jun 23 '22 04:06 cyrilgupta

Try using electron-rebuild

npm install --save-dev electron-rebuild

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

jove0610 avatar Jun 29 '22 11:06 jove0610

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?

txj-xyz avatar Jul 09 '22 01:07 txj-xyz