Skip to content
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

[Bug]: Electron window does not open in development mode #6762

Closed
6 tasks done
hunkyburrito opened this issue Feb 7, 2025 · 6 comments
Closed
6 tasks done

[Bug]: Electron window does not open in development mode #6762

hunkyburrito opened this issue Feb 7, 2025 · 6 comments
Labels

Comments

@hunkyburrito
Copy link

Guidelines

  • I have encountered this bug in the latest release of FreeTube.
  • I have encountered this bug in the official downloads of FreeTube.
  • I have searched the issue tracker for open and closed issues that are similar to the bug report I want to file, without success.
  • I have searched the documentation for information that matches the description of the bug I want to file, without success.
  • This issue contains only one bug.

Describe the bug

  1. Do a fresh clone of FreeTube (git clone https://github.com/FreeTubeApp/FreeTube.git && cd FreeTube)
  2. Run yarn install
  3. Run yarn run dev
  4. Observe that no electron window opens

Log output is attached in "Additional Information".

Expected Behavior

Electron window opens properly

Issue Labels

only happens in developer mode, causes crash

FreeTube Version

e1000d8

Operating System Version

Linux 6.13.1-arch1-1 #1 SMP PREEMPT_DYNAMIC x86_64 GNU/Linux

Installation Method

other

Primary API used

Local API

Last Known Working FreeTube Version (If Any)

No response

Additional Information

I have a Wayland/Nvidia system (I am using the --disable-gpu-compositing flag however).

Log Output (Including electron logging)
yarn run v1.22.22
$ run-s rebuild:electron patch-shaka dev-runner
$ electron-builder install-app-deps
  • electron-builder  version=25.1.8
  • executing @electron/rebuild  electronVersion=34.0.2 arch=x64 buildFromSource=false appDir=./
  • installing native dependencies  arch=x64
  • completed installing native dependencies
$ node _scripts/patchShaka.mjs
$ node _scripts/dev-runner.js
<i> [webpack-dev-server] Project is running at:
<i> [webpack-dev-server] Loopback: http://localhost:9080/, http://[::1]:9080/
<i> [webpack-dev-server] On Your Network (IPv4): http://10.129.10.173:9080/
<i> [webpack-dev-server] Content not from webpack is served from '/home/hunky/Documents/projects/FreeTube/static, /home/hunky/Documents/projects/FreeTube/node_modules/shaka-player/ui/locales' directory

Compiled botGuardScript script!

Compiled main script!

Starting electron...

Watching file changes for main script...
[22094:0206/214947.117967:WARNING:wayland_object.cc(179)] Binding to wl_seat version 8 but version 9 is available.
[22094:0206/214947.118011:WARNING:wayland_object.cc(179)] Binding to zwp_pointer_gestures_v1 version 1 but version 3 is available.
[22094:0206/214947.118044:WARNING:wayland_object.cc(179)] Binding to zwp_linux_dmabuf_v1 version 3 but version 5 is available.
[22094:0206/214947.187368:WARNING:wayland_surface.cc(200)] Server doesn't support zcr_alpha_compositing_v1.
[22094:0206/214947.187377:WARNING:wayland_surface.cc(215)] Server doesn't support overlay_prioritizer.
[22094:0206/214947.187378:WARNING:wayland_surface.cc(231)] Server doesn't support surface_augmenter.
[22094:0206/214947.187380:WARNING:wayland_surface.cc(265)] Server doesn't support zcr_color_management_surface.
Installing Vue.js devtools from node_modules/vue-devtools/vender
(node:22094) UnhandledPromiseRejectionWarning: Error: The path to the extension in 'loadExtension' must be absolute
    at exports.install (webpack-internal:///./node_modules/vue-devtools/lib/index.js:14:46)
    at App.eval (webpack-internal:///./src/main/index.js:459:102)
    at emitUnhandledRejectionWarning (node:internal/process/promises:298:15)
    at warnWithErrorCodeUnhandledRejectionsMode (node:internal/process/promises:406:5)
    at processPromiseRejections (node:internal/process/promises:470:17)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:32)
(node:22094) Error: The path to the extension in 'loadExtension' must be absolute
    at exports.install (webpack-internal:///./node_modules/vue-devtools/lib/index.js:14:46)
    at App.eval (webpack-internal:///./src/main/index.js:459:102)
[22148:0206/214947.362005:WARNING:vaapi_wrapper.cc(1534)] Skipping nVidia device named: nvidia-drm
libva error: /usr/lib/dri/nvidia_drv_video.so init failed
[22148:0206/214947.388641:WARNING:sandbox_linux.cc(430)] InitializeSandbox() called with multiple threads in process gpu-process.
[22148:0206/214947.388977:WARNING:viz_main_impl.cc(85)] VizNullHypothesis is disabled (not a warning)
<i> [webpack-dev-middleware] wait until bundle finished: /

Compiled renderer script!

Watching file changes for renderer script...
assets by path static/locales/*.json 2.51 MiB
  asset static/locales/ta.json 103 KiB [emitted]
  asset static/locales/bg.json 79.7 KiB [emitted]
  asset static/locales/ru.json 79.6 KiB [emitted]
  + 45 assets
assets by chunk 426 KiB (auxiliary name: renderer)
  assets by path imgs/*.svg 76.5 KiB 31 assets
  assets by path fonts/ 337 KiB 2 assets
  assets by path imgs/*.png 12.5 KiB 2 assets
assets by chunk 21.5 MiB (name: renderer)
  asset renderer.js 21.1 MiB [emitted] (name: renderer)
  asset renderer.css 331 KiB [emitted] (name: renderer)
asset swiper-11.2.2.css 8.13 KiB [emitted] [copied]
asset index.html 382 bytes [emitted]
Entrypoint renderer 21.5 MiB (426 KiB) = renderer.css 331 KiB renderer.js 21.1 MiB 35 auxiliary assets
runtime modules 1.1 MiB 366 modules
orphan modules 811 KiB (javascript) 420 KiB (asset) [orphan] 140 modules
javascript modules 6.84 MiB
  modules by path ./node_modules/ 5.24 MiB 772 modules
  modules by path ./src/ 1.6 MiB 713 modules
  + 4 modules
css modules 267 KiB 88 modules
json modules 9.57 KiB
  ./static/locales/activeLocales.json 284 bytes [built] [code generated]
  ./package.json 4.43 KiB [built] [code generated]
  ./node_modules/youtubei.js/dist/package.json 4.86 KiB [built] [code generated]
asset modules 5.82 KiB (asset) 84 bytes (javascript)
  ./src/renderer/assets/img/thumbnail_placeholder.svg 231 bytes (asset) 42 bytes (javascript) [built] [code generated]
  ./src/renderer/assets/img/yt_logo_mono_dark.png 5.59 KiB (asset) 42 bytes (javascript) [built] [code generated]
renderer (webpack 5.97.1) compiled successfully in 2995 ms
[22094:0206/214948.029676:INFO:CONSOLE(577)] "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", source: webpack-internal:///./node_modules/webpack-dev-server/client/modules/logger/index.js (577)
[22094:0206/214948.030210:INFO:CONSOLE(39)] "[HMR] Waiting for update signal from WDS...", source: webpack-internal:///./node_modules/webpack/hot/log.js (39)
[22094:0206/214948.162353:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Subscriptions.Subscriptions'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.165212:INFO:CONSOLE(1570)] "EmeEncryptionSchemePolyfill: Waiting to detect encryptionScheme support.", source: webpack-internal:///./node_modules/shaka-player/dist/shaka-player.ui.js (1570)
[22094:0206/214948.165221:INFO:CONSOLE(1575)] "McEncryptionSchemePolyfill: Waiting to detect encryptionScheme support.", source: webpack-internal:///./node_modules/shaka-player/dist/shaka-player.ui.js (1575)
[22094:0206/214948.166007:INFO:CONSOLE(8844)] "Download the Vue Devtools extension for a better development experience:
https://github.com/vuejs/vue-devtools", source: webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js (8844)
[22094:0206/214948.166013:INFO:CONSOLE(8852)] "You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.html", source: webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js (8852)
[22094:0206/214948.169464:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Profile.All Channels'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.170025:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Subscriptions.Subscriptions'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.173878:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Back'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.173928:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Keys.alt'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.173934:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Keys.arrowleft'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.173944:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'shortcutJoinOperator'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.173951:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'shortcutLabelSeparator'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.173989:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'KeyboardShortcutTemplate'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.174155:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Forward'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.174166:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Keys.alt'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.174180:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Keys.arrowright'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.174189:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'shortcutJoinOperator'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.174203:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'shortcutLabelSeparator'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.174216:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'KeyboardShortcutTemplate'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.174449:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Open New Window'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.174457:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Keys.ctrl'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.174461:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'shortcutJoinOperator'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.174470:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'shortcutLabelSeparator'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.174475:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'KeyboardShortcutTemplate'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.174770:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Subscriptions.Subscriptions'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.174778:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Go to page'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.174829:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Search / Go to URL'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.175057:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Search Filters.Search Filters'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.177245:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Search Bar.Clear Input'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.178223:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Profile.Toggle Profile List'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.178272:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Profile.All Channels'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.182163:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Profile.Profile Select'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.182297:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Profile.All Channels'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.182366:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Profile.All Channels'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.183747:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Subscriptions.Subscriptions'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.183990:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Subscriptions.Subscriptions'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.184047:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Channels.Channels'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.184205:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Channels.Channels'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.184265:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Trending.Trending'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.184420:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Trending.Trending'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.184472:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Most Popular'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.184597:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Most Popular'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.184632:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Playlists'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.184751:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Playlists'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.184840:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'History.History'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.184853:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Keys.ctrl'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.184856:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'shortcutJoinOperator'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.184861:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'shortcutLabelSeparator'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.184869:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'KeyboardShortcutTemplate'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.184995:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'History.History'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.185045:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Settings.Settings'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.185058:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Keys.ctrl'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.185062:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'shortcutJoinOperator'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.185066:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'shortcutLabelSeparator'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.185078:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'KeyboardShortcutTemplate'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.185203:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Settings.Settings'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.185217:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'About.About'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.185332:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'About.About'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.186878:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'More'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.187053:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'More'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.187067:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'History.History'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.187183:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'History.History'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.187202:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Settings.Settings'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.187320:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Settings.Settings'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.187334:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'About.About'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.187445:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'About.About'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.189023:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Subscriptions.Subscriptions'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.189030:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Subscriptions.Subscriptions Tabs'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.189053:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Global.Videos'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.189074:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Global.Shorts'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.189089:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Global.Live'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.189118:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Global.Community'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.189584:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Global.Videos'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.190337:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Feed.Refresh Feed'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.190344:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'KeyboardShortcutTemplate'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.191230:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Global.Videos'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.191501:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Subscriptions['Your Subscription list is currently empty. Start adding subscriptions to see them here.']'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.192541:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Search / Go to URL'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.192593:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Search Filters.Search Filters'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214948.193384:INFO:CONSOLE(61)] "[vue-i18n] Cannot translate the value of keypath 'Search Bar.Clear Input'. Use the value of keypath as default.", source: webpack-internal:///./node_modules/vue-i18n/dist/vue-i18n.esm.js (61)
[22094:0206/214949.102784:INFO:CONSOLE(58)] "using static file for invidious instances", source: webpack-internal:///./src/renderer/store/modules/invidious.js (58)

Nightly Build

@efb4f5ff-1298-471a-8973-3d47447115dc

This isnt an issue on our side.

Your Wayland/Nvidia system setup could be related to the issue you're experiencing. The logs indicate several warnings related to Wayland and GPU, including things like libva errors and issues with nVidia's nvidia-drm video driver

@efb4f5ff-1298-471a-8973-3d47447115dc efb4f5ff-1298-471a-8973-3d47447115dc closed this as not planned Won't fix, can't repro, duplicate, stale Feb 8, 2025
@hunkyburrito
Copy link
Author

hunkyburrito commented Feb 8, 2025

If it is a wayland/nvidia problem it is only happening in the dev environment, because if I build locally (yarn run build) or run a prebuilt from the official source it works just fine. It also is not a compositor issue, as I've tried multiple and they all have the same issue with only the dev environment.

@efb4f5ff-1298-471a-8973-3d47447115dc

Are you sure you havent modified anything else. Im unable to reproduce this at all.

@hunkyburrito
Copy link
Author

I have not modified anything aside from enabling electron logging, and disabling gpu compositing as a test for seeing if it was a nvidia problem. The only error I have is the electron one that's in the log above:

[22094:0206/214947.117967:WARNING:wayland_object.cc(179)] Binding to wl_seat version 8 but version 9 is available.
[22094:0206/214947.118011:WARNING:wayland_object.cc(179)] Binding to zwp_pointer_gestures_v1 version 1 but version 3 is available.
[22094:0206/214947.118044:WARNING:wayland_object.cc(179)] Binding to zwp_linux_dmabuf_v1 version 3 but version 5 is available.
[22094:0206/214947.187368:WARNING:wayland_surface.cc(200)] Server doesn't support zcr_alpha_compositing_v1.
[22094:0206/214947.187377:WARNING:wayland_surface.cc(215)] Server doesn't support overlay_prioritizer.
[22094:0206/214947.187378:WARNING:wayland_surface.cc(231)] Server doesn't support surface_augmenter.
[22094:0206/214947.187380:WARNING:wayland_surface.cc(265)] Server doesn't support zcr_color_management_surface.
Installing Vue.js devtools from node_modules/vue-devtools/vender
(node:22094) UnhandledPromiseRejectionWarning: Error: The path to the extension in 'loadExtension' must be absolute
    at exports.install (webpack-internal:///./node_modules/vue-devtools/lib/index.js:14:46)
    at App.eval (webpack-internal:///./src/main/index.js:459:102)
    at emitUnhandledRejectionWarning (node:internal/process/promises:298:15)
    at warnWithErrorCodeUnhandledRejectionsMode (node:internal/process/promises:406:5)
    at processPromiseRejections (node:internal/process/promises:470:17)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:32)
(node:22094) Error: The path to the extension in 'loadExtension' must be absolute
    at exports.install (webpack-internal:///./node_modules/vue-devtools/lib/index.js:14:46)
    at App.eval (webpack-internal:///./src/main/index.js:459:102)

@hunkyburrito
Copy link
Author

yarn install does also have these warnings when run initially:

yarn install v1.22.22
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "electron-builder > [email protected]" has unmet peer dependency "[email protected]".
warning "neostandard > [email protected]" has unmet peer dependency "typescript@>=4.8.4 <5.8.0".
warning "neostandard > eslint-plugin-import-x > @typescript-eslint/[email protected]" has unmet peer dependency "typescript@>=4.8.4 <5.8.0".
warning "neostandard > typescript-eslint > @typescript-eslint/[email protected]" has unmet peer dependency "typescript@>=4.8.4 <5.8.0".
warning "neostandard > typescript-eslint > @typescript-eslint/[email protected]" has unmet peer dependency "typescript@>=4.8.4 <5.8.0".
warning "neostandard > eslint-plugin-import-x > @typescript-eslint/utils > @typescript-eslint/[email protected]" has unmet peer dependency "typescript@>=4.8.4 <5.8.0".
warning "neostandard > typescript-eslint > @typescript-eslint/eslint-plugin > @typescript-eslint/[email protected]" has unmet peer dependency "typescript@>=4.8.4 <5.8.0".
warning "neostandard > typescript-eslint > @typescript-eslint/eslint-plugin > [email protected]" has unmet peer dependency "typescript@>=4.2.0".
[4/4] Building fresh packages...
$ run-s --silent rebuild:electron patch-shaka
  • electron-builder  version=25.1.8
  • executing @electron/rebuild  electronVersion=34.0.2 arch=x64 buildFromSource=false appDir=./
  • installing native dependencies  arch=x64
  • completed installing native dependencies
Fixed shaka-player types
Removed shaka-player Roboto font, so it uses ours
Changed shaka-player Material Icons Rounded font to use the smaller woff2 format instead of otf
Downloaded shaka-player Material Icons Rounded font
Done in 5.74s.

@hunkyburrito
Copy link
Author

hunkyburrito commented Feb 8, 2025

It does seem to be system related; I ran it through sway and Hyprland compositors and both have the problem, but running it through gamescope has no problem. Sorry, for the trouble

Edit: Running it in xwayland (using --ozone-platform-hint=x11) seems to be the only way I can get the window to open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: To assign
Development

No branches or pull requests

2 participants