electron-userland / electron-builder

A complete solution to package and build a ready for distribution Electron app with “auto update” support out of the box
https://www.electron.build
MIT License
13.58k stars 1.73k forks source link

Built App Cannot Connect to Database #2932

Closed auphali closed 5 years ago

auphali commented 6 years ago

I am building an app for CRUD to an oracle database. For convenience, I use "Node-ADODB" library to do it. It works perfectly in development mode. But once i build the app and try to run it, i can see that there is no response from database at all.

I also made a child process to execute and read value using a VBScript. It works fine in development but it does not work after build.

I also include the script folder in the extraResource config.

Build process was smooth, no error whatsoever. And when execute the app from terminal to look what the main process can feed me back, no sign of error. Simply no response from those scripts.

Do I miss something in the build process?

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

KMurphs commented 5 years ago

I also have the same issue. Application queries database in dev environment, but not in build.

develar commented 5 years ago

Sorry, I can only recommend to debug, please see https://electronjs.org/docs/tutorial/application-debugging