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

226
Vistas
i've having this error in my ui whenever i start npm

this is the code with which the node is giving the error TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of SourceMapGenerator

.then(function (results) {
        if (outfile) {
          mkdirp.sync(path.dirname(outfile))
          fs.writeFileSync(outfile, results.css)
          if (results.map) {
            fs.writeFileSync(`${outfile}.map`, results.map)
          }
          if (watch) {
            logger.log(`updated ${outfile}`)
          }
        }
        return results
      })

  if (watch) {
    watcher = chokidar.watch(entry)
    watcher
      .on('add', transform)
      .on('change', transform)
      .on('unlink', transform)
  }

  return transform()
}

please resolve this issue i am new so no idea about how to fix this

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