Open cyrilgupta opened 2 years ago
Try using electron-rebuild
npm install --save-dev electron-rebuild
.\node_modules\.bin\electron-rebuild.cmd
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?
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
ornpm install
).