Closed hieund-hblab closed 7 years ago
it is very difficult to say something on the basis of these data, sorry
hey @automation-stack, This image is error alert when I open app was developed by electron used your module (electron-sudo) Please help me, thanks!
You probably saved electron-sudo to your devDependencies
in package.js. Those aren't included with the release version, which is why it can't be found. Put it in dependencies
instead to fix the problem. Hope that helps!
I use electron-sudo to my project, it work fine when start app on dev with command
npm start
. But when I usenpm run release
to build release version (OSX) DMG file, when open app (after install) have error: Moduleelectron-sudo not found
. Another module was work fine. Please support me, thank so much!