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

406
Vistas
How to fix 'Error: unmatched pseudo-class :flex' in cheerio

I'm using node.js and cheerio. When trying to find an element inside a selector I get the error 'unmatched pseudo-class :flex'

const $ = cheerio.load(data)
const name = $('#__next > div.w-full.py-10.flex.flex-col.items-center.space-y-3 > div:nth-child(1) > div.flex.hidden.md\:flex.w-full.items-center.gap-5.md\:gap-2 > div.flex.w-64.items-center.gap-3 > h2')

I've hear the same thing happens with :first which can be replaced with .first() but i'm not sure what I should do with flex.

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