-
-
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
Electron 12.0.2 + sharp 0.28.1 fails to build (without running npm i -g prebuild-install) #2651
Comments
If I If I add |
sharp v0.28.1 depends on prebuild-install v6.1.1, which is the latest version published to npm. I notice you've used the |
I just uninstalled the globally-installed prebuild-install, cleaned out node_modules, and just ran
|
OH DEAR 🤦 My I changed the postinstall to just "postinstall": "yarn electron-builder install-app-deps" and everything works properly (at least on Ubuntu) Thanks for humoring me! |
I created an empty project with just electron and sharp. Here's the
package.json
:This project builds fine:
If I change sharp to 0.28.1,
yarn install
fails:What is the output of running
npx envinfo --binaries --system
?The text was updated successfully, but these errors were encountered: