Comments (6)
This is why it's failing.
snapcraft is not installed, please: sudo snap install snapcraft --classic
snapcraft
is a huge package and is why it's not installed in the base docker image by default. You'll need to install it locally
from electron-builder.
This is why it's failing.
snapcraft is not installed, please: sudo snap install snapcraft --classic
snapcraft
is a huge package and is why it's not installed in the base docker image by default. You'll need to install it locally
Sorry but why did you close this? did you look at my logs at all? you can clearly see the difference between the log building x64 and Arm64..
I never told it to do snap on either of them and when I told it to do x64 it didn't do snap nor did it give me the error but as soon as I did Arm64 it tried to do snap and gave me that error even tho I never told it to do a snap package
I never said I was even using a docker container, please re open this issue and read the issue post.
from electron-builder.
Apologies. Can you please post your full electron-builder config file, your build command w/ args, and/or a minimum reproducible repo that I can investigate further with? Not sure why yours is building snap if you're not specifically requesting it via config.
from electron-builder.
I'm actually not using a electron-builder config file but here is a example of one of my package.json files
{
"name": "Youtube",
"version": "1.1.1",
"pkgrel": "3",
"description": "Youtube desktop app",
"main": "main.js",
"scripts": {
"start": "electron ."
},
"repository": "",
"keywords": [
"Youtube"
],
"author": "Corey Bruce",
"license": "GPL",
"devDependencies": {
"electron": "^29.1.0",
"electron-builder": "^24.13.3",
"electron-packager": "^17.1.2"
},
"dependencies": {
"electron-context-menu": "^3.6.1"
}
}
Not sure why it tries to build a snap package when I tell it to do arm64 but not x64 I'm sure we can figure out the bug
from electron-builder.
Having an electron-builder config in your package.json would probably help significantly. What's your build command though? I don't see anything in the scripts
for electron-builder.
The default targets for linux include snap
electron-builder/packages/app-builder-lib/src/linuxPackager.ts
Lines 24 to 26 in fa6fc16
from electron-builder.
Yeh but I don't need a electron-builder config
The default targets for linux include snap
But it doesn't give this error when building for x64 and only Arm64, why is it different between the two architectures and give this error for Arm64 but doesn't on x64 when I don't have the snap packages and don't want to build for snap??
from electron-builder.
Related Issues (20)
- dSYM file is not generated for OSX
- Electron updater delete all non-app files/folders in the installation folder
- Arch is wrong in artifact name on Linux deb x64 target HOT 2
- RPM file doesn't work on a FIPS enabled RHEL system HOT 5
- AppX identityName error
- While building an application with electron-builder, the cpu-features command fails in some environments and succeeds.
- Feature request: override configuration per target or allow specifying a platform more than once
- How to disable code signing for individual files? HOT 2
- Enable Bitbucket Access Token Authentication for Electron Builder
- notarize set false but still No authentication properties provided (e.g. appleId, appleApiKey, keychain) HOT 1
- how can we change the download path for updater
- #4059 no autoclose HIGH PRIORITY HOT 1
- How to properly type updater events
- There is a build error when the configuration file on window is ts HOT 3
- electron-updater with electron-forge HOT 1
- Dependencies not rebuilt when prebuilt binaries not found? HOT 3
- msiWrapped installer target causes seemingly unnecessary UAC prompt
- 本地调试检测更新没有问题,打包成功后,安装electron应用时提示Cannot find module 'electron-updater' HOT 2
- Universal arch missing from 'TargetConfiguration' documentation
- electron-builder支持龙芯架构打包吗? 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.