-
Notifications
You must be signed in to change notification settings - Fork 824
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
Invalid regular expression: missing / #1227
Comments
same |
failed: evalmachine.:8 SyntaxError: Invalid regular expression: missing / |
Same here.. |
same here |
Also getting this issue. |
+1 |
me too |
same |
Same here |
same |
Same |
Temporary fixed solution is downgrading ytdl-core version forked by @GreepTheSheep:
For mine, this fixed the "Invalid regular expression: missing / " |
For me the patch by @khlevon worked
|
How about speed download? |
This worked for me:
|
If you don't want to use a fork, you can also use a patch. I use the |
It works perfectly on localhost however I am not able to deploy to Firebase Functions after adding this to package.json. |
@Mittelblut9 in your patch one important line is removed, here is a correct one https://gist.github.com/talyuk/6f197e6a58b7b8107a7c2d7f442b97ae |
Fixed 😅🫡 |
I recommend using @distubejs fork since it is active, has fast bug fixes, and has better performance with undici. If you don't want to change your package name, you can overwrite the original package with this command. It should work better since #1217 patch is copied from this fork |
It says 404 not found! |
Sorry, their package org doesn't have js suffix, it should be |
Seems like the issue is fixed, at least |
Downgrade should work but the download speed is throttled and extremely slow. |
I don't think ytdl-core use ffmpeg/ffprobe |
Yeah, there is no ffmpeg/ffprobe inside it this package But this is my internal logic to use downloaded files. And seems like "ytdl-core": "npm:@distube/ytdl-core@latest" is randomly downloading empty files |
After trying again, is it still the same? |
The text was updated successfully, but these errors were encountered: