Comments (7)
Some quick notes:
yarn test
depends onyarn build:prod
because that generates an executable app - the CI platforms all do this, but maybe we should make that clearer when working locally?- I'm not clear on why
yarn start
might be unresponsive after a while - any interesting output in the dev tools or console?
yarn build package
is not the right command to run - it should beyarn run package
from desktop.
yarn test
depends onyarn build:prod
because that generates an executable app - the CI platforms all do this, but maybe we should make that clearer when working locally?
yarn build:prod && yarn test
runs fine.
This is not clear from documentation/scripts.
I'm new to yarn
; just followed half-blindly whatever was in the documentation. :)
yarn build package
is not the right command to run - it should beyarn run package
Correct! My bad.
- I'm not clear on why
yarn start
might be unresponsive after a while - any interesting output in the dev tools or console?
Nope (the dev console is also unresponsive
$ yarn build:dev && yarn start
:
$ yarn start
yarn run v1.9.4
$ cross-env NODE_ENV=development ts-node -P script/tsconfig.json script/start.ts
Server running at http://localhost:3000
ℹ 「atl」: Using [email protected] from typescript
ℹ 「atl」: Using tsconfig.json from /home/joaomlneto/Documents/GitHub/desktop/tsconfig.json
ℹ 「atl」: Checking started in a separate process...
ℹ 「atl」: Time: 7261ms
webpack built 8baef21181dbaed8f9f9 in 19744ms
info: [ui] [AppStore] loading 0 repositories from store
debug: [ui] Executing installGlobalLFSFilter: git lfs install --skip-repo
info: [ui] launching: 1.4.1-beta0 (Linux 4.15.0-34-generic)
info: [ui] execPath: '/home/joaomlneto/Documents/GitHub/desktop/dist/desktop-linux-x64/desktop'
<hangs>
from desktop.
Are you able to reproduce the hang with the electron-quick-start
sample? If so, I'm happy to help submit an issue upstream and see if the core team has an idea about diagnosing it...
from desktop.
Can't reproduce it. Works fine:
$ git clone https://github.com/electron/electron-quick-start \
&& cd electron-quick-start && npm install && npm start
- First time it worked fine (i let the app be for a few minutes before i touched it). ✅
- Second time i messed a bit with it and opened dev tools and shortly after it hanged. ❌
- Third time I just messed with the menus (without selecting any option) and ❌
- Fourth time i just opened the dev console (ctrl-shift-i) -- ❌
- Fifth time just played around selecting text and switching back and forth from terminal and ❌
I've been issuing pkill electron
between runs.
from desktop.
Which version of electron is it choosing (should be visible if you can run process.versions
in the dev tools console)? Can you set this version to "2.0.9"
(the latest stable version, and one we'll hopefully upgrade Desktop to soon) and see if it's still repeatable?
from desktop.
Set version to "2.0.9"
. App still freezes some time after being launched. Can't select text, click menus, nor open/close/use the devtools.
Some Improvements:
- Ctrl-C in terminal is now able to end the process.
- Can resize/move window after it hangs (though renders window incorrectly). Cannot use app -- menus/text/devtools aren't clickable.
from desktop.
Found a workaround/fix. $ electron --disable-gpu
fixes it for me.
electron/electron#12850
electron/electron#13624
Also, I'm running in a VM. Apparently this is an issue:
electron/electron#12380
Instead of running my Linux partition as a VM, I booted it natively -- it works just fine.
Running ELECTRON_ENABLE_LOGGING=1 npm start -- --v=1
:
- fails if in running in VM (VMWare Fusion)
- succeeds if running natively
Adding --disable-gpu
makes it work in VM.
from desktop.
Related Issues (20)
- Failed to clone: error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8) HOT 5
- apt update Ign, Err within last hour HOT 1
- Suddenly Cannot Push Origin HOT 11
- Add certificate issue, upon installing ZScalar HOT 2
- Pycharm professional integration missing
- Error Object does not exist at path “/org/freedesktop/secrets/collection/login”
- GitHub Desktop does not respect KDE Plasma "Keyboard accelerators visibility" setting
- Ubuntu 24.04 Unsupported SSL backend 'gnutls' HOT 2
- Get an error when installing on CENTOS7 with error message: "Invalid version flag: or" (Re-post of Desktop issue 18551) HOT 6
- invalid SSL cert for `*.packages.shiftkey.dev` HOT 21
- can't clone my repos HOT 7
- Push - The remote disconnected HOT 9
- use GUI on multiple VNC sessions on linux server simultaneously HOT 3
- Can pull, can't push, although terminal push works HOT 10
- Error: The name is not activatable
- Certificate not trusted (APT) HOT 6
- Installation Command not working in Readme.md HOT 2
- Overflow in dialogue box
- Cannot Clone Private Repository Even Though I Have Adequate Access HOT 2
- Unable to push anything from local to repository 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 desktop.