flecs icon indicating copy to clipboard operation
flecs copied to clipboard

[Bug]: Error when searching for tracks: "TypeError: Cannot read property 'results' of undefined"

Open QuantumAlchemist03 opened this issue 7 months ago • 0 comments

Preflight Checklist

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

YouTube Music (Application) Version

11

Checklists

What operating system are you using?

Windows

Operating System Version

Edition Windows 11 Home Single Language Version 22H2 Installed on ‎27-‎07-‎2023 OS build 22621.4317 Experience Windows Feature Experience Pack 1000.22700.1041.0

What CPU architecture are you using?

x64

Last Known Working YouTube Music (Application) version

No response

Reproduction steps

Hi,

I encountered an error when trying to search for tracks using the latest version of youtube-music.

Steps to reproduce:

Run the command node index.js search "song name"

The app crashes with an error

Expected Behavior

The search results should display a list of tracks matching the query.

Actual Behavior

The app throws the following error and exits: TypeError: Cannot read property 'results' of undefined at ... (stack trace)

Enabled plugins

OS: Windows 10

Node.js version: 18.16.0

youtube-music version: latest from master branch

Additional Information

No response

QuantumAlchemist03 avatar May 19 '25 21:05 QuantumAlchemist03