Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

331
Views
Yarn no puede encontrar el módulo (html a texto)

Ejecuté yarn add html-to-text con éxito. El paquete está en la package.json de paquetes.json. Ahora, cuando trato de solicitar el módulo como se describe en el manual, dice Error: Cannot find module html-to-text . El mismo repositorio está funcionando en otra computadora portátil (Mac). Estoy usando Windows, pero no creo que ese sea el problema.

 const { convert } = require('html-to-text');

¿Algunas ideas?

Editar

¡Parece que también lo está con otros módulos nuevos! Ejecutar yarn lo agrega a node_modules , pero dice Module not found on import

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

Necesitaba ejecutar yarn docker --build y funcionó.

about 4 years ago · Juan Pablo Isaza Report

0

También puedes usarlo

npm instala html a texto

y luego usar

const { convertir } = require('html a texto');

Podría ser útil para usted

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!