-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Cannot use native modules when asar is enabled #740
Comments
Thanks for filing an issue! In order to help you with your problem, we're going to need more information about it. In particular:
|
Sorry, so late to provide these info.
And I solved this problem after I remove the |
This is a known issue with asar and native modules, and also why I hesitate to make asar default to |
I'm facing the same problem, I think the native module should be copied beside the asar file not the temp folder, and the require should be able to load the node module outside the asar file. |
set |
I tried the same config, but I am getting the same issue, but this time it is not referencing the temp folder. Thanks |
i want to hide the dll in app.asar |
Just Like the image.I run this in dev type is very ok. But When I package it, something go wrong....
The text was updated successfully, but these errors were encountered: