Vencord / Vesktop

Vesktop is a custom Discord App aiming to give you better performance and improve linux support
GNU General Public License v3.0
4.04k stars 186 forks source link

[Bug] Stuck on loading window #710

Closed TheBunnyMan123 closed 3 months ago

TheBunnyMan123 commented 3 months ago

Discord Account

No response

Operating System

NixOS Unstable

Linux Only ~ Desktop Environment

XFCE4

What happens when the bug or crash occurs?

This occurs when I start up vesktop through either the AppImage or the nix package (I am aware it is unofficial). this does not occur with the flatpak

What is the expected behaviour?

I expect vesktop to get past the loading window and fully start up. I have found one similar issue that states I can't connect to the github api but all other applications can, and that wouldn't explain the flatpak working to my knowledge

How do you recreate this bug or crash?

  1. Start vesktop

Debug Logs

DRM kernel driver 'nvidia-drm' in use. NVK requires nouveau.
(node:182050) UnhandledPromiseRejectionWarning: /home/bunny/.config/vesktop/vencordDist/vencordDesktopMain.js:19
                `)}})})});var ze={};ie(ze,{resolveRedirect:()=>Lr});l();var kt=require("https"),Cr=/^https:\/\/(spotify\.link|s\.team)\/.+$/;function _t(e){return new Promise((t,r)=>{let n=(0,kt.request)(new URL(e),{method:"HEAD"},o=>{t(o.headers.location?_t(o.headers.location):e)});n.on("error",r),n.end()})}async function Lr(e,t){return Cr.test(t)?_t(t):t}var Ze={};ie(Ze,{readRecording:()=>Gr});l();var Ct=require("electron"),Lt=require("fs/promises"),fe=require("path");async function Gr(e,t){t=(0,fe.normalize)(t);let r=(0,fe.basename)(t),n=(0,fe.normalize)(Ct.app.getPath("userData")+"/");if(console.log(r,n,t),r!=="recording.ogg"||!t.startsWith(n))return null;try{let o=await(0,Lt.readFile)(t);return new Uint8Array(o.buffer)}catch{return null}}var Mt={};l();var bt=require("electron");l();var Gt=`"use strict";const LOGO_ID="block-youtube-ads-logo",hiddenCSS=["#__ffYoutube1","#__ffYoutube2","#__ffYoutube3","#__ffYoutube4","#feed-pyv-container","#feedmodule-PRO","#homepage-chrome-side-promo","#merch-shelf","#offer-module",'#pla-shelf > ytd-pla-shelf-renderer[class="style-scope ytd-watch"]',"#pla-shelf","#premium-yva","#promo-info","#promo-list","#promotion-shelf","#related > ytd-watch-next-secondary-results-renderer > #items > ytd-compact-promoted-video-renderer.ytd-watch-next-secondary-results-renderer","#search-pva","#shelf-pyv-container","#video-masthead","#watch-branded-actions","#watch-buy-urls","#watch-channel-brand-div","#watch7-branded-banner","#YtKevlarVisibilityIdentifier","#YtSparklesVisibilityIdentifier",".carousel-offer-url-container",".companion-ad-container",".GoogleActiveViewElement",'.list-view[style="margin: 7px 0pt;"]',".promoted-sparkles-text-search-root-container",".promoted-videos",".searchView.list-view",".sparkles-light-cta",".watch-extra-info-column",".watch-extra-info-right",".ytd-carousel-ad-renderer",".ytd-compact-promoted-video-renderer",".ytd-companion-slot-renderer",".ytd-merch-shelf-renderer",".ytd-player-legacy-desktop-watch-ads-renderer",".ytd-promoted-sparkles-text-search-renderer",".ytd-promoted-video-renderer",".ytd-search-pyv-renderer",".ytd-video-masthead-ad-v3-renderer",".ytp-ad-action-interstitial-background-container",".ytp-ad-action-interstitial-slot",".ytp-ad-image-overlay",".ytp-ad-overlay-container",".ytp-ad-progress",".ytp-ad-progress-list",'[class*="ytd-display-ad-"]','[layout*="display-ad-"]','a[href^="http://www.youtube.com/cthru?"]','a[href^="https://www.youtube.com/cthru?"]',"ytd-action-companion-ad-renderer","ytd-banner-promo-renderer","ytd-compact-promoted-video-renderer","ytd-companion-slot-renderer","ytd-display-ad-renderer","ytd-promoted-sparkles-text-search-renderer","ytd-promoted-sparkles-web-renderer","ytd-search-pyv-renderer","ytd-single-option-survey-renderer","ytd-video-masthead-ad-advertiser-info-renderer","ytd-video-masthead-ad-v3-renderer","YTM-PROMOTED-VIDEO-RENDERER"],hideElements=()=>{const e=hiddenCSS;if(!e)return;const t=e.join(", ")+" { display: none!important; }",r=document.createElement("style");r.innerHTML=t,document.head.appendChild(r)},observeDomChanges=e=>{new MutationObserver(r=>{e(r)}).observe(document.documentElement,{childList:!0,subtree:!0})},hideDynamicAds=()=>{const e=d

SyntaxError: Unexpected end of input
    at internalCompileFunction (node:internal/vm:73:18)
    at wrapSafe (node:internal/modules/cjs/loader:1160:20)
    at Module._compile (node:internal/modules/cjs/loader:1212:27)
    at Module._extensions..js (node:internal/modules/cjs/loader:1311:10)
    at Module.load (node:internal/modules/cjs/loader:1098:32)
    at Module._load (node:internal/modules/cjs/loader:945:12)
    at c._load (node:electron/js2c/node_init:2:13672)
    at Module.require (node:internal/modules/cjs/loader:1122:19)
    at require (node:internal/modules/helpers:130:18)
    at VCDMain:15:4656
(Use `vesktop.bin --trace-warnings ...` to show where the warning was created)
(node:182050) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)

Request Agreement

Vendicated commented 3 months ago

click update vencord in the tray or delete vesktop config dir

if it still happens, Internet issue