Closed iosyyy closed 1 year ago
Hello, are you try to execute this commands:
npm install electron npm install electron-rebuild .\node_modules\.bin\electron-rebuild
And if it doesn' t work, what is your node version ? (node --version)
I have tried it but the error is the same
and my environment
"electron": "21.3.3",
"electron-builder": "^23.6.0",
"electron-packager": "^17.1.1",
"mica-electron": "^1.1.7",
"electron-rebuild": "^3.2.9",
"node-loader": "^0.6.0",
"nodejs-base64": "^2.0.0",
How your run your project ?
If you write 'electron .' in your terminal, try to write electron --version to see if is the same version as your environment
I'm running into the same issue: I'm using nvm to manage my nodes versions and with node v18.14.2 I can't get through (tried various rebuilds (npm rebuild
, .\node_modules\.bin\electron-rebuild
) none did work.
What version of node are you using on your side?
The same 19.3.0 as the one I mentioned above
Strange, with 19.3.0
I also have this error:
Tried to rebuild (also with node-gyp) but no luck so far: having this error every-time.
Try running with this command:
npx electron .
Try running with this command:
npx electron .
I'm not working on this project anymore, but I seem to have tried this method and it didn't work
No luck:
@GregVido what is your node version?
I use v18.10.0, but the problem with version is about electron, your electron version isn't the same with the module build.
Hello normally it's fixed!
If you need more detailed information, please reply me, THKS