-
-
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
prebuild-install failed with error (run with env DEBUG=electron-builder to get more information) #2673
Comments
There are two problems here, the first is a (temporary?) network problem:
If you're based in China, please see https://sharp.pixelplumbing.com/install#chinese-mirror You're also likely to be affected by a bug in electron-builder, please see electron-userland/electron-builder#5438 |
prebuild-install http request GET https://github.com/lovell/sharp/releases/download/v0.27.2/sharp-v0.27.2-electron-v85-darwin-x64.tar.gz It should be impossible to download from this address. |
• electron-builder version=22.10.5 os=19.6.0 To ensure your native dependencies are always matched electron version, simply add script
ExecError: /Users/lc/st/wmswarehouse/node_modules/app-builder-bin/mac/app-builder exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE |
Please see electron-userland/electron-builder#5438 as advised. |
electron-builder install-app-deps
• electron-builder version=22.10.5
• rebuilding native dependencies [email protected] platform=darwin arch=x64
• install prebuilt binary name=sharp version=0.27.2 platform=darwin arch=x64
• build native dependency from sources name=sharp
version=0.27.2
platform=darwin
arch=x64
reason=prebuild-install failed with error (run with env DEBUG=electron-builder to get more information)
error=prebuild-install info begin Prebuild-install version 6.1.2
prebuild-install WARN install prebuilt binaries enforced with --force!
prebuild-install WARN install prebuilt binaries may be out of date!
prebuild-install info looking for local prebuild @ prebuilds/sharp-v0.27.2-electron-v85-darwin-x64.tar.gz
prebuild-install info looking for cached prebuild @ /Users/xx/.electron-gyp/.npm/_prebuilds/3aff7b-sharp-v0.27.2-electron-v85-darwin-x64.tar.gz
prebuild-install http request GET https://github.com/lovell/sharp/releases/download/v0.27.2/sharp-v0.27.2-electron-v85-darwin-x64.tar.gz
prebuild-install WARN install connect ETIMEDOUT 140.82.113.4:443
npm WARN [email protected] requires a peer of webpack@^5.20.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of html-webpack-plugin@^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
removed 6 packages and audited 2221 packages in 120.577s
126 packages are looking for funding
run
npm fund
for details================================
./node_modules/.bin/electron-rebuild
npm install --build-from-source
Can't succeed
================================
Environment:
node v14.16.1
electron v11.3.0
macOS 10.15.7
The text was updated successfully, but these errors were encountered: