-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
libvps issue in electron app #3250
Comments
Did you see #678 (comment) ? |
Yes, we do have asarUnpack set up here https://github.com/WeakAuras/WeakAuras-Companion/blob/main/vue.config.js#L45 |
Thanks for confirming. If you hadn't already seen it, there's a section about cross-platform/cross-arch installations in the docs at https://sharp.pixelplumbing.com/install#cross-platform plus I've just added a multi-arch example via commit |
Hrm I added that to our CI but now it fails with:
which does not make sense at all to me. :( |
This suggests that the It looks like you've found a bug in |
Very interesting, I now added |
I hope this information helped. Please feel free to re-open with more details if further assistance is required. |
Possible install-time or require-time problem
npm install
is the same as the architecture and platform of Node.js used at runtime.Are you using the latest version of sharp?
sharp
as reported bynpm view sharp dist-tags.latest
.If you cannot confirm this, please upgrade to the latest version and try again before opening an issue.
If you are using another package which depends on a version of
sharp
that is not the latest, please open an issue against that package instead.Is this a problem with filesystem permissions?
If you are using npm v6 or earlier and installing as a
root
orsudo
user, have you tried with thenpm install --unsafe-perm
flag?If you are using npm v7 or later, does the user running
npm install
own the directory it is run in?If you are using the
ignore-scripts
feature ofnpm
, have you tried with thenpm install --ignore-scripts=false
flag?What is the complete output of running
npm install --verbose --foreground-scripts sharp
in an empty directory?What is the output of running
npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp
?I sadly can't test this because I don't have an M1 mac so I have to rely on user reports. When building the app in GitHub CI on a non M1 system, generating a universal build like this the user reports the following error on launch:
The text was updated successfully, but these errors were encountered: