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]: Windows version always lost responding after some mins #3126

Open
3 of 5 tasks
riverai opened this issue Mar 24, 2025 · 9 comments
Open
3 of 5 tasks

[Bug]: Windows version always lost responding after some mins #3126

riverai opened this issue Mar 24, 2025 · 9 comments
Labels
awaiting-reply Awaiting reply bug Something isn't working cannot-reproduce Bug cannot be reproduced

Comments

@riverai
Copy link

riverai commented Mar 24, 2025

Preflight Checklist

  • I use the latest version of YouTube Music (Application).
  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.
  • I understand that th-ch/youtube-music has NO affiliation with Google or YouTube

YouTube Music (Application) Version

3.7.5.0

Checklists

What operating system are you using?

Windows

Operating System Version

windows 11 23H2

What CPU architecture are you using?

x64

Last Known Working YouTube Music (Application) version

No response

Reproduction steps

Several recent versions of YouTube Music have been experiencing a common issue: approximately two minutes after launching the app, it becomes unresponsive, forcing users to close it . The only version that works properly for me is one from about three months ago. This problem has persisted across multiple updates and has not been resolved to date.

Expected Behavior

running

Actual Behavior

I have make a video about this

bandicam.2025-03-25.02-35-00-699.mp4

Enabled plugins

not many ..and the program is always unusable ,so i don't have a list yet

Additional Information

No response

@ArjixWasTaken
Copy link
Contributor

Have you tried fully uninstalling youtube music and re-installing it?
In other words, removing any left-over folders in AppData/Roaming and AppData/Local about youtube music.

@ArjixWasTaken
Copy link
Contributor

Also, can you launch youtube music via the terminal, and copy paste the logs here?

@riverai
Copy link
Author

riverai commented Mar 25, 2025

Also, can you launch youtube music via the terminal, and copy paste the logs here?

Hi,how could i do this on windows ?

Here is what i have done,and the app still lost responding after some time :
PS X:\thyoutubemusic\youtube-music> npm run dev

[email protected] dev
cross-env NODE_OPTIONS=--enable-source-maps electron-vite dev --watch

(node:49652) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
(Use node --trace-warnings ... to show where the warning was created)
vite v6.2.2 building SSR bundle for development...

watching for file changes...

build started...
node_modules/file-type/core.js (1419:16): Use of eval in "node_modules/file-type/core.js" is strongly discouraged as it poses security risks and may cause issues with minification.
✓ 3272 modules transformed.
Inspect report generated at X:\thyoutubemusic\youtube-music.vite-inspect\backend
dist/main/index.js 34,965.70 kB │ map: 18,073.84 kB
built in 41981ms.

build the electron main process successfully


vite v6.2.2 building SSR bundle for development...

watching for file changes...

build started...
✓ 378 modules transformed.
Inspect report generated at X:\thyoutubemusic\youtube-music.vite-inspect\preload
dist/preload/preload.js 2,824.15 kB │ map: 1,029.05 kB
built in 16689ms.

build the electron preload files successfully


TypeError: Cannot read properties of undefined (reading 'join')
at file:///X:/thyoutubemusic/youtube-music/node_modules/vite/dist/node/chunks/dep-B0fRCRkQ.js:17543:13
at async file:///X:/thyoutubemusic/youtube-music/node_modules/vite/dist/node/chunks/dep-B0fRCRkQ.js:52234:28
dev server running for the electron renderer process at:

➜ Local: http://localhost:5173/
➜ Network: use --host to expose
➜ Inspect: http://localhost:5173/__inspect/

start electron app...

(node:49848) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use electron --trace-deprecation ... to show where the warning was created)
[YTMusic] i18n 宸茶浇鍏?[YTMusic] 姝e湪鍔犺浇鎵€鏈夋彃浠?[YTMusic] 鎻掍欢 quality-changer::backend 宸插湪 2.15 姣鍐呮墽琛?[YTMusic] 鎻掍欢 in-app-menu::backend 宸插湪 23.94 姣鍐呮墽琛?[YTMusic] 鎻掍欢 precise-volume::backend 宸插湪 25.47 姣鍐呮墽琛?[YTMusic] 鎻掍欢 picture-in-picture::backend 宸插湪 25.26 姣鍐呮墽琛?[YTMusic] 鎻掍欢 adblocker::backend 宸插湪 25.83 姣鍐呮墽琛?[YTMusic] 鎻掍欢 scrobbler::backend 宸插湪 28.30 姣鍐呮墽琛?[YTMusic] 鎻掍欢 api-server::backend 宸插湪 28.15 姣鍐呮墽琛?[YTMusic] 鎻掍欢 taskbar-mediacontrol::backend 宸插湪 292.46 姣鍐呮墽琛?[YTMusic] 鎻掍欢 鈥渧ideo-toggle::menu鈥?宸茶浇鍏?[YTMusic] 鎻掍欢 鈥渟ynced-lyrics::menu鈥?宸茶浇鍏?[YTMusic] 鎻掍欢 鈥渟crobbler::menu鈥?宸茶浇鍏?[YTMusic] 鎻掍欢 鈥減recise-volume::menu鈥?宸茶浇鍏?[YTMusic] 鎻掍欢 鈥減icture-in-picture::menu鈥?宸茶 浇鍏?[YTMusic] 鎻掍欢 鈥渁pi-server::menu鈥?宸茶浇鍏?[YTMusic] 鎻掍欢 鈥渁dblocker::menu鈥?宸茶浇鍏?[YTMusic] 鎻掍欢 鈥 渧ideo-toggle::menu鈥?宸茶浇鍏?[YTMusic] 鎻掍欢 鈥渟ynced-lyrics::menu鈥?宸茶浇鍏?[YTMusic] 鎻掍欢 鈥渟crobbler::menu鈥?宸茶浇鍏?[YTMusic] 鎻掍欢 鈥減recise-volume::menu鈥?宸茶浇鍏?[YTMusic] 鎻掍欢 鈥減icture-in-picture::menu鈥?宸茶浇鍏?[YTMusic] 鎻掍欢 鈥渁pi-server::menu鈥?宸茶浇鍏?[YTMusic] 鎻掍欢 鈥渁dblocker::menu鈥?宸茶浇鍏?16:13:57 [vite] (client) ✨ new dependencies optimized: i18next, deepmerge-ts, simple-youtube-age-restriction-bypass, fast-average-color, color, howler, keyboardevent-from-electron-accelerator, keyboardevents-areequal, peerjs, vudio/umd/vudio, @foobar404/wave, butterchurn, butterchurn-presets, solid-styled-components, solid-transition-group, @skyra/jaro-winkler, @floating-ui/dom, solid-floating-ui
16:13:57 [vite] (client) ✨ optimized dependencies changed. reloading
{
"error": "did-fail-load",
"errorCode": -3,
"errorDescription": "",
"validatedURL": "https://music.youtube.com/watch?v=Fzl5Pb7maKo&list=RDAMVM8RCZxBElR1c",
"isMainFrame": true,
"frameProcessId": 5,
"frameRoutingId": 4
}
[YTMusic] 鍔犺浇瀹屾瘯銆傚紑鍙戜汉鍛樺伐鍏峰凡鍚姩
[49848:0325/161414.861:ERROR:CONSOLE(1)] "Request Autofill.enable failed. {"code":-32601,"message":"'Autofill.enable' wasn't found"}", source: devtools://devtools/bundled/core/protocol_client/protocol_client.js (1)
[49848:0325/161414.861:ERROR:CONSOLE(1)] "Request Autofill.setAddresses failed. {"code":-32601,"message":"'Autofill.setAddresses' wasn't found"}", source: devtools://devtools/bundled/core/protocol_client/protocol_client.js (1)
[49848:0325/161415.334:ERROR:CONSOLE(1)] "Request Autofill.enable failed. {"code":-32601,"message":"'Autofill.enable' wasn't found"}", source: devtools://devtools/bundled/core/protocol_client/protocol_client.js (1)
[49848:0325/161415.334:ERROR:CONSOLE(1)] "Request Autofill.setAddresses failed. {"code":-32601,"message":"'Autofill.setAddresses' wasn't found"}", source: devtools://devtools/bundled/core/protocol_client/protocol_client.js (1)

@riverai
Copy link
Author

riverai commented Mar 25, 2025

Have you tried fully uninstalling youtube music and re-installing it? In other words, removing any left-over folders in AppData/Roaming and AppData/Local about youtube music.

Have you tried fully uninstalling youtube music and re-installing it? In other words, removing any left-over folders in AppData/Roaming and AppData/Local about youtube music.

I just tried this(uninstall+removing any left-over folders in AppData/Roaming and AppData/Local+re-installing) ..now i can't start the app anymore..

Image

@ArjixWasTaken
Copy link
Contributor

You almost got it.

Instead of npm we use pnpm.
You can do

npm i -g pnpm
pnpm install
pnpm dev

@riverai
Copy link
Author

riverai commented Mar 25, 2025

You almost got it.

Instead of npm we use pnpm. You can do

npm i -g pnpm pnpm install pnpm dev

i have made another video

bandicam.2025-03-25.21-01-17-948.mp4

PS X:\thyoutubemusic\youtube-music> pnpm dev

[email protected] dev X:\thyoutubemusic\youtube-music
cross-env NODE_OPTIONS=--enable-source-maps electron-vite dev --watch

(node:29492) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
(Use node --trace-warnings ... to show where the warning was created)
vite v6.2.2 building SSR bundle for development...

watching for file changes...

build started...
node_modules/.pnpm/[email protected]/node_modules/file-type/core.js (1419:16): Use of eval in "node_modules/.pnpm/[email protected]/node_modules/file-type/core.js" is strongly discouraged as it poses security risks and may cause issues with minification.
✓ 3201 modules transformed.
Inspect report generated at X:\thyoutubemusic\youtube-music.vite-inspect\backend
dist/main/multipart-parser-CggtVFzK.js 34.33 kB │ map: 18.09 kB
dist/main/index.js 35,310.29 kB │ map: 18,414.73 kB
built in 54320ms.

build the electron main process successfully


vite v6.2.2 building SSR bundle for development...

watching for file changes...

build started...
✓ 378 modules transformed.
Inspect report generated at X:\thyoutubemusic\youtube-music.vite-inspect\preload
dist/preload/preload.js 2,830.72 kB │ map: 1,033.99 kB
built in 22862ms.

build the electron preload files successfully


20:57:52 [vite] (client) Re-optimizing dependencies because lockfile has changed
TypeError: Cannot read properties of undefined (reading 'join')
at file:///X:/thyoutubemusic/youtube-music/node_modules/.pnpm/vite@6.2.2_@types[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-B0fRCRkQ.js:17543:13
at async file:///X:/thyoutubemusic/youtube-music/node_modules/.pnpm/vite@6.2.2_@types[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-B0fRCRkQ.js:52234:28
dev server running for the electron renderer process at:

➜ Local: http://localhost:5173/
➜ Network: use --host to expose
➜ Inspect: http://localhost:5173/__inspect/

start electron app...

[YTMusic] i18n 宸茶浇鍏?[YTMusic] 姝e湪鍔犺浇鎵€鏈夋彃浠?[YTMusic] 鎻掍欢 in-app-menu::backend 宸插湪 1.06 姣鍐呮墽琛?[YTMusic] 鎻掍欢 adblocker::backend 宸插湪 3.33 姣鍐呮墽琛?[YTMusic] 鎻掍欢 api-server::backend 宸插湪 5.38 姣鍐呮 墽琛?[YTMusic] 鎻掍欢 鈥渁pi-server::menu鈥?宸茶浇鍏?[YTMusic] 鎻掍欢 鈥渁dblocker::menu鈥?宸茶浇鍏?[YTMusic] 鎻掍欢 鈥 渁pi-server::menu鈥?宸茶浇鍏?[YTMusic] 鎻掍欢 鈥渁dblocker::menu鈥?宸茶浇鍏?20:58:29 [vite] (client) ✨ new dependencies optimized: i18next, deepmerge-ts, simple-youtube-age-restriction-bypass, howler, fast-average-color, color, keyboardevent-from-electron-accelerator, keyboardevents-areequal, peerjs, solid-styled-components, solid-transition-group, vudio/umd/vudio, @foobar404/wave, butterchurn, butterchurn-presets, @skyra/jaro-winkler, @floating-ui/dom, solid-floating-ui
20:58:29 [vite] (client) ✨ optimized dependencies changed. reloading
{
"error": "did-fail-load",
"errorCode": -3,
"errorDescription": "",
"validatedURL": "https://music.youtube.com/watch?v=8RCZxBElR1c&list=RDAMVM8RCZxBElR1c",
"isMainFrame": true,
"frameProcessId": 5,
"frameRoutingId": 4
}
[YTMusic] 鍔犺浇瀹屾瘯銆傚紑鍙戜汉鍛樺伐鍏峰凡鍚姩
[36680:0325/205853.950:ERROR:CONSOLE(1)] "Request Autofill.enable failed. {"code":-32601,"message":"'Autofill.enable' wasn't found"}", source: devtools://devtools/bundled/core/protocol_client/protocol_client.js (1)
[36680:0325/205853.950:ERROR:CONSOLE(1)] "Request Autofill.setAddresses failed. {"code":-32601,"message":"'Autofill.setAddresses' wasn't found"}", source: devtools://devtools/bundled/core/protocol_client/protocol_client.js (1)
[36680:0325/205854.506:ERROR:CONSOLE(1)] "Request Autofill.enable failed. {"code":-32601,"message":"'Autofill.enable' wasn't found"}", source: devtools://devtools/bundled/core/protocol_client/protocol_client.js (1)
[36680:0325/205854.512:ERROR:CONSOLE(1)] "Request Autofill.setAddresses failed. {"code":-32601,"message":"'Autofill.setAddresses' wasn't found"}", source: devtools://devtools/bundled/core/protocol_client/protocol_client.js (1)
[36680:0325/205924.168:ERROR:CONSOLE(1)] "Uncaught (in promise) SyntaxError: Unexpected token 'H', "HTTP/1.1 4"... is not valid JSON", source: devtools://devtools/bundled/devtools_app.html?remoteBase=https://chrome-devtools-frontend.appspot.com/serve_file/@b2ac74d78a53296114b733e2bb78d442adceb33/&can_dock=true&toolbarColor=rgba(223,223,223,1)&textColor=rgba(0,0,0,1)&experiments=true (1)

@ArjixWasTaken
Copy link
Contributor

Nice, now we know that you have the same issue on the latest commit.

@JellyBrick
Copy link
Collaborator

Are you using a proxy?

@JellyBrick JellyBrick added bug Something isn't working cannot-reproduce Bug cannot be reproduced awaiting-reply Awaiting reply labels Mar 27, 2025
@riverai
Copy link
Author

riverai commented Mar 27, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-reply Awaiting reply bug Something isn't working cannot-reproduce Bug cannot be reproduced
Projects
None yet
Development

No branches or pull requests

3 participants