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
failed to build in Electron with utp-native error #2779
Comments
TechQuery
changed the title
failed to build in Electron cause of utp-native error
failed to build in Electron with utp-native error
Apr 25, 2024
you need to configure electron forge to exclude native dependencies "files": ["build/**/*", "!node_modules/**/*.{mk,a,o,h}"],
"mac": {
"singleArchFiles": "node_modules/+(register-scheme|utp-native|fs-native-extensions)/**", is how you'd do it in electron builder, you need to find the equiv in forge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@webtorrent
What version of this package are you using?
2.2.1
What operating system, Node.js, and npm version?
What happened?
When I run
electron-forge make
in GitHub actions with Mac OS, an error thrown:then in Ubuntu, another error thrown:
What did you expect to happen?
Building Electron & WebTorrent with no error.
Are you willing to submit a pull request to fix this bug?
No, I have no idea about how to fix this bug.
The text was updated successfully, but these errors were encountered: