SyntaxError: Unexpected end of JSON input
When I try to play music this error happens.
The bot connects to the voice channel but nothing sounds.
Error:
RonaldZav•20d ago
Complete Error:
Error:
RonaldZav•20d ago
play command:
1Lucas1.apk•19d ago
I'm going to replace the internal socket module with ws, I think it can fix your error
Piedra ~•19d ago
I have the same problem
foreign-sapphire•18d ago
Please update the package and try again
1Lucas1.apk•18d ago
GitHub
GitHub - lavalink-devs/youtube-source: A rewritten YouTube source m...
A rewritten YouTube source manager for Lavaplayer. - lavalink-devs/youtube-source
foreign-sapphire•18d ago
Crwdo
1Lucas1.apk•18d ago
sim
kkk
foi o que achei naqueles chats
foreign-sapphire•18d ago
Imagina o quão lento isso deve ser quando um dos clientes não ir
1Lucas1.apk•18d ago
já reportaram que a moonlink tava mandando encoded null
foreign-sapphire•18d ago
Mas isso não tem relação 👀
1Lucas1.apk•18d ago
foi o que linkaram
foreign-sapphire•18d ago
🤷♂️ Deve ser um bug do Moonlink
Apesar que o povo do LL faz as coisas tão bem feito né..
1Lucas1.apk•18d ago
https://discord.com/channels/1082302532421943407/1142873533840633896
então, a moonlink se adaptou pro nodelink
foreign-sapphire•18d ago
Eu não consigo abrir url do discord
KKKKKKKKKKKKK
LavaLink client -> NodeLink client
1Lucas1.apk•18d ago
porque tou usando o nodelink e até agora nenhum erro
1Lucas1.apk•18d ago
foreign-sapphire•18d ago
Porque os problemas do NL foram ajeitados a meio século
Eles são lentos
Ele não deve estar lidando com o type error
E esse cara ta usando NL hoje em dia KKKKK
1Lucas1.apk•18d ago
eu vendo no vsc nenhum erro
e no rich presence dizendo que tem 14
ele tá prevendo o futuro?
deve ser feito por arabes
foreign-sapphire•18d ago
KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK
RonaldZav•18d ago
There is no longer any error on the console, but the music does not play
foreign-sapphire•18d ago
Node logs please
RonaldZav•18d ago
where do I find the logs?
RonaldZav•18d ago
this?
foreign-sapphire•18d ago
Oh, you don't have the node logs, yeah?
foreign-sapphire•18d ago
So, I suppose it's a LL node that doesn't have youtube-source plugin
It's recommendable for you to use NodeLink which doesn't have some LL bugs on YT source
GitHub
GitHub - PerformanC/NodeLink: Performant LavaLink alternative writt...
Performant LavaLink alternative written with Node.Js - PerformanC/NodeLink
RonaldZav•18d ago
I will install it in a moment and let you know if it works for me.
diverse-rose•18d ago
GG @RonaldZav, you just advanced to level 1!
foreign-sapphire•18d ago
Sweet
Btw, comment out node-libsamplerate in src/voice/utils.js import and remove from package.json as it's doesn't work well yet for Windows
(Or just install from the last GH release)
RonaldZav•18d ago
It worked for me, thanks
foreign-sapphire•18d ago
Np
Want results from more Discord servers?
More PostsSyntaxError: Unterminated string in JSON at position 5788SyntaxError: Unterminated string in JSON at position 5788
at JSON.parse (<anonymous>)
at Moo<MoonlinkPlayer>.skip() bugWhen using the skip method, the <MoonlinkPlayer>.playing is returned to falseMoonlinkPlayer shuffled property is not defineddocs: https://moonlink.js.org/classes/moonlinkplayer#shuffled
github: https://github.com/Ecliptia/mLavalink problem or Module problem (Need Help)Hello, I'm trying to develop a musicbot using the moonlink.js module, and I wonder if it's a module Cannot read properties of undefined (reading 'shard')client.moon = new MoonlinkManager(
[
{
host: "localhost",
port: JSON Parse errors while sending the payloadbefore this it was posting errors with this token `♥` in JSON, so i tried sanitizing it but resultederror when starting / connecting to node```TypeError: require(...).setDefaultAutoSelectFamily is not a function
at new MoonlinkWebSocketError when searching for a songHey there! Im getting this very weird error when trying to play a simple song, I copied the example error(node:6856) [DEP0128] DeprecationWarning: Invalid 'main' field in 'G:\k\node_modules\moonlink.js\disthere is code in the package that console.log(queue)this code is so annoyingEror when playing song with deezerMusic not playing but connectingHey there! My music doesn't play when connecting. I think it's because I do not have a raw event. I'In debug, connected is falseThe bot is connected but the music is not playing, I saw the debug and found thisnão tem skip nas docs e fica dando erro de Node mesmo conectandoe issomodule errorsometimes this error pops up while using play comand