-
-
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
Sharp library is not being unpacked #6880
Comments
I just donate to electron-builder org, thanks for helping me with this bug. |
Can you please provide a minimum reproducibles repo using electron-quick-start? |
@mmaietta Let me work on it, meanwhile this the error without the workaround of unpack the library
|
@mmaietta Our m1 users are reporing errors on mac os universal builds as well.
|
Automatic analysis (and copying) of modules is in upstream dependency https://github.com/develar/app-builder This can not be fixed solely through electron-builder, so you'll need to specifically it in |
Any workaround? |
You can use resvg instead of sharp library |
@andirsun please how do specify it in Here is the build property in the package.json
|
After making some researches and testing it, this worked for me
|
Please See this : Adedoyin-Emmanuel/fotograph#1 |
version=23.0.9
v14.19.0
^18.1.0
Current
Mac / Linux / Windows
I am using the sharp library and the library is being unpacked correctly on windows and mac os builds but I have to manually unpack the library on linux with this code
The text was updated successfully, but these errors were encountered: