-
Notifications
You must be signed in to change notification settings - Fork 102
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
node-odbc incompatible with Electron? #107
Comments
Hello! I helped someone with Electron in the past and the issue was that internally Electron was using a version of Node.js that was different from the version of Node.js that was used to build/install the odbc module. I'd suggest that you make sure the version of Node.js you have installed on your system matches the version that is used in Electron. You may need to run I hope this helps. |
See also: #100 (comment) |
Depending on what you're doing, you can use electron-rebuild to rebuild To do so: npm install --save-dev electron-rebuild
$(npm bin)/electron-rebuild # Mac and Linux.
.\node_modules\.bin\electron-rebuild.cmd # Windows. Because I kept forgetting to do this after doing an npm install (and to help others that downloaded the project), I added the following two scripts to "scripts": {
"start": "electron .",
"postinstall": "electron-rebuild",
"electron-rebuild": "electron-rebuild"
}, The To manually re-run Easy-peezie, lemon-squeezie! |
Update binding.gyp to build Windows with UNICODE defined by default Signed-off-by: Mark Irish <[email protected]>
Hello, I have question. node-odbc incompatible with Electron?
The text was updated successfully, but these errors were encountered: