Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

140
Vistas
TypeError: (intermediate value)._patchPlaylist is not a function

I've got error message like "TypeError: (intermediate value)._patchPlaylist is not a function" on console log. Please check out what's wrong from my script:

        const playlist = new distube_1.Playlist(playlistInfo);
        const fetchTheRest = async (q, fs, us = false) => {
            if (queries.length) {
                let results = [];
                if (this.parallel) {
                    results = await Promise.all(queries.map(query => this.search(query)));
                }
                else {
                    for (let i = 0; i < queries.length; i++) {
                        results[i] = await this.search(queries[i]);
                    }
                }
                playlist.songs = results
                    .filter((r) => !!r)
                    .map(r => new distube_1.Song(r, member)._patchPlaylist(playlist));
                q.addToQueue(playlist.songs, skip ? 1 : us ? 2 : -1);
            }
            playlist.songs.unshift(fs);
        };

How I can fix it? thanks for help me.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda