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

SyntaxError: Invalid regular expression: missing / #1308

Closed
kohane27 opened this issue Aug 18, 2022 · 5 comments
Closed

SyntaxError: Invalid regular expression: missing / #1308

kohane27 opened this issue Aug 18, 2022 · 5 comments
Labels
bug This issue identifies a bug in Nuclear.

Comments

@kohane27
Copy link

Hello there. Hope you're doing well. Thank you for creating nuclear. It makes streaming yt music much easier!

Platform:

Linux 5.19.1-arch2-1

Nuclear version:

nuclear-player-bin 1656321745104:2022627_267b920591069c3daa0652269aa20cb9-2

Description of the issue:

To reproduce:

  1. run nuclear in the terminal to see the error output
  2. search "Coldplay"
  3. click Tracks
  4. double click any song
  5. error produced
❯ nuclear
      main › (node:374419) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `nuclear --trace-deprecation ...` to show where the warning was created)
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
  renderer › youtube track search error
  renderer › evalmachine.<anonymous>:11
"mfZru","cfYAzm",1897615910,414154674,"IluoVc5",null,1,"XsmT",-659785013,577478260,-419211961,1087899650,/,,[/,913,/](,)};Wka(ncode);
                                                                                                         ^

SyntaxError: Invalid regular expression: missing /
    at new Script (vm.js:101:7)
    at Object.t.decipherFormats (file:///opt/nuclear/resources/app.asar/dist/726.73fd16dcf7d7e9583890.js:2098:11501026)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async Promise.all (index 0)
    at async t.getInfo (file:///opt/nuclear/resources/app.asar/dist/726.73fd16dcf7d7e9583890.js:2098:11497843)
  renderer › Error while searching  for Lofi Girl lofi hip hop radio - beats to relax/study to on Youtube
  renderer › Error: Warning: topTrack.url is undefined, removing song
    at I (file:///opt/nuclear/resources/app.asar/dist/726.73fd16dcf7d7e9583890.js:2098:7076551)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async M.search (file:///opt/nuclear/resources/app.asar/dist/726.73fd16dcf7d7e9583890.js:2098:7053903)
    at async file:///opt/nuclear/resources/app.asar/dist/main.ea61db2c9233b43c043b.js:1:390362

Any input is much appreciated. Thank you:)

@kohane27 kohane27 added the bug This issue identifies a bug in Nuclear. label Aug 18, 2022
@AndreJesusBrito
Copy link

This is happening to me as well...
Every song that I try to play gives this error, including in the top tracks
I used Nuclear yesterday and it was working fine
It works with local files so the problem is probably in the instance/server side

@nukeop
Copy link
Owner

nukeop commented Aug 18, 2022

This is caused by this issue: fent/node-ytdl-core#1110

When it gets fixed there I will update this library in Nuclear.

This was referenced Aug 19, 2022
@ghost
Copy link

ghost commented Aug 27, 2022

Just to keep in touch: the issue is fixed in node-ytdl-core v4.11.1.

@nukeop
Copy link
Owner

nukeop commented Aug 30, 2022

New release building now

@nukeop
Copy link
Owner

nukeop commented Aug 30, 2022

Fixed in new release

@nukeop nukeop closed this as completed Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue identifies a bug in Nuclear.
Projects
None yet
Development

No branches or pull requests

3 participants