Comments (6)
@reddybhavanish we encountered a similar issue with electron-builder, which uses node-gyp. By overriding the node-gyp version, we were able to resolve our problem with electron-builder. While I can't guarantee this is the exact issue you're facing, you might want to try the same approach. Overriding node-gyp shouldn't break electron-builder, but please note that it will affect all packages that depend on node-gyp.
from electron-builder.
Exact same issue here ! Signing and notarization have been successful but unidentified developer after downloading and installing the app on mac.
from electron-builder.
@reddybhavanish it sounds like you are notarizing the application twice with the notarize.js
and adding the notarize: { ... }
in your electron-builder config. Can you please try using only one approach and write back?
from electron-builder.
Hey @mmaietta thanks for the reply, i tried as you said and removed "build": {
...
"mac": {
...
"notarize": {
"teamId": "YOUR_TEAM_ID_HERE"
}
}
from the package.json and verified whether the artifact is notarized or not with this command spctl -a -vv "path/to/output-directory/YourAppName.dmg" it showed rejected status, while in the log it showed notarization successful.
from electron-builder.
Hi,
We've experienced similar issues as mentioned in the previous posts, despite our notarization being successful.
To check the status of our app, we used the following command:
syspolicy_check distribution <AppName.app>
This morning, we discovered problems related to node-gyp and dynamic libraries. Fortunately, the issue has been resolved in a new version of node-gyp. We recommend using node-gyp 10.1.0. Since electron-builder uses an older version, the issue persists.
To fix this, you can override the node-gyp version in your packages by adding the following to your package.json:
"overrides": {
"node-gyp": "10.1.0"
}
We hope this resolves the issue for you as well.
from electron-builder.
Hey @willemdjong , we are not using any such dependency like node-gyp in our project. Do you recommend me using this ? if so what exactly does this do? please throw some light on this.
from electron-builder.
Related Issues (20)
- How to customize the log output file location HOT 1
- How to change output folder's name? HOT 3
- Accidental issue created
- Building for Windows on macOS creates broken builds. HOT 11
- Cannot overwrite installation if the uninstaller.exe is present, have to delete it manually HOT 2
- Builder in 25.0.0 finds files outside project and throws error HOT 2
- ERR_ELECTRON_BUILDER_CANNOT_EXECUTE: "could not open file: ....nsis\include\allowOnlyOneInstallerInstance.nsh" HOT 5
- Cannot pack macOS universal app in v25.0.0: the same architectures can't be in the same fat output file HOT 6
- How to support resumable download?
- v25.0.0 breaks linux AppImage build HOT 8
- Auto Update without Admin and perMachine: true HOT 1
- unbantu environment node-usb in electron-builder A native build error occurred when executing the electron-builder --win --ia32 command HOT 5
- After the builder is successful, there is an error when using cmd.exe to start the exe file.
- customInstall wrong ${isUpdated} value HOT 5
- [query] [electron-updater] Why is a subset of linux distros supported for autoupdates? HOT 29
- Having some dependencies in the package node_modules break the build HOT 4
- PortableOptions link lose HOT 1
- electron builder Please specify 'version' in the package.json HOT 1
- Not able to Pass Transporter & Notarization with same .pkg file HOT 1
- Build Linux ARM64 on MacOS M1 ARM HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electron-builder.