Open zblcm opened 5 years ago
Same issue using electron-react-boilerplate
gyp ERR! node -v v10.16.0
gyp ERR! node-gyp -v v6.0.1
"electron": "7.1.4",
"electron-builder": "^22.2.0",
"electron-devtools-installer": "^2.2.4",
"electron-rebuild": "^1.8.8",
node-ffi don't support node 12, which electron start to use from electron 5. Try ffi-napi and ref-napi instead
I am using ffi. I can use node-gyp to rebuild it and run with
node main.js
. However, I cannot use electron-rebuild to rebuild it. It cannot bind ffi and says:And here is the log file:
I have node v8.10.0, and