Comments (10)
You need to run $ npm run build-linux
.
from caprine.
Tried. Still not working. http://pastebin.com/7ezqP7hW
from caprine.
Did you run $ npm install
first?
from caprine.
yeah, npm install
followed by npm start
.
from caprine.
Not really sure where it's failing. Try installing electron-packager
globally and try each command separately.
$ electron-packager . Caprine --overwrite --out=dist --ignore='^/dist$' --ignore='^/media/(?!Icon.png$).*' --prune --platform=linux --arch=x64 --app-bundle-id=com.sindresorhus.caprine --app-version=0.1.2 --version=0.33.3
cd dist/Caprine-linux-x64/
zip -ryq9 ../Caprine-linux-0.1.2.zip *
from caprine.
Since first error on building was Command failed: /bin/sh -c npm prune --production
. I tried by removing --prune
from the command and it worked.
from caprine.
I will try this on another system and check if error reproduces.
from caprine.
I tried by adding npm prune --production
like this
"build-linux": "npm prune --production && electron-packager . $npm_package_productName --overwrite --out=dist --ignore='^/dist$' --ignore='^/media/(?!Icon.png$).*' --prune --platform=linux --arch=x64 --app-bundle-id=com.sindresorhus.caprine --app-version=$npm_package_version --version=$npm_package_electronVersion && cd dist/Caprine-linux-x64/ && zip -ryq9 ../Caprine-linux-\"$npm_package_version\".zip *"
and it worked.
I am not sure if it can be considered as temporary fix untill electron-packager resolves the issue.
from caprine.
I don't want to end up with a bunch of temporary workarounds. I'm the only one that needs to build anyways. If for some weird reason you need this just work around it locally.
from caprine.
I suggested this fix, because it's same as what --prune
flag do(at least that what I thought) and for other devs who might want to builld for some reason but I might be wrong since you know better and I'm just a learner so I'll try not to fix things again in these ways. Thanks!!
from caprine.
Related Issues (20)
- Caprine Linux Freezes HOT 4
- Notification Badge HOT 5
- Cannot Delete Messages - Temporary Solution Works HOT 1
- More Flexible Window Moves HOT 1
- Status against CVE-2023-4863 HOT 4
- Dask THeme broken and updates
- Themes not working
- I see the Messenger login screen then in a few seconds the window turns white HOT 5
- Dark Mode issue HOT 1
- Keep facebook account always online HOT 4
- Cookies window, nothing to do HOT 1
- Unable to Unsend Messages
- [Security] Update electron to 24.8.5 and release against CVE-2023-5217 HOT 2
- Notifications stopped working HOT 3
- Missing a new release for CVE-2023-5217 HOT 3
- Privacy submenu isn't visible in the windows version HOT 1
- Disable taskbar flashing HOT 3
- Dock context menu doesn't render properly
- Caprine Windows v2.59.1 - question about hiding active status, typing and preventing messages from being marked 'read' HOT 1
- Caprine Windows v2.59.1 - what does File->New Conversation do? HOT 2
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 caprine.