-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Error while launching packaged app on Windows 10 (Surface) #598
Comments
Set build.asar to Please see electron/packager#425 |
Do you use native extensions or do you execute external exe? |
what do you mean ? |
Please try to set build.asar to And
|
oh ok sorry. |
When I'm packaging I have this message : "Skip app dependencies rebuild because dev and app dependencies are not separated", I dont know if it can be related though ... |
It means that you can build only on the same platform — i.e. you cannot build on Linux on Windows. It is not the reason of the issue (since you build in WIndows). Asar is the issue, see http://electron.atom.io/docs/latest/tutorial/application-packaging/#limitations-on-node-api/ So, disable asar, and report — does it help you. If helps, please provide sample project (or name of native extensions) and I will try to fix it (such files should be not packed into asar archive). Or you can try to use |
Maybe for MS Surface you have to recompile native ext. I cannot help. BTW, is Surface is ARM or x86? |
it's x86. ok that's too bad .. I'll try to remove that extension or maybe to recompile on the surface.. |
Is your packaged app works on other Windows machine? You can send me your app and I will try to investigate what is wrong. [email protected] |
It works if I execute the packaged app on the machine I packaged it... |
I doubt that Surface is the issue. So, I ask you sample/real project to investigate. |
EDIT : I found the problem, a .dll was missing for the native extension to work (libeay32.dll from SSL). So I just added the missing .dll next to the .exe and it worked ! |
Hi RilRil, Thanks |
Hi @bordunez , Maybe this could help you : http://stackoverflow.com/questions/33205339/what-dll-is-needed-for-windows-devices-geolocation, |
Hello, i've got some trouble with Windows 10 ...
I'm packaging for platform windows x64 using electron 1.2.7; electron-builder 5.12.1 on a windows 10 x64.
when I execute the app file in the win-unpacked directory on the machine I packaged on everything is working correctly.
But If I try to execute the same file on a Windows Surface I get this error :
the module file (4753.tmp.node) exists ...
any idea ?
The text was updated successfully, but these errors were encountered: