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

201
Views
Al implementar una aplicación web con Vite, no puedo implementar el archivo .js. "<script src="/index.js"> en "/index.html" no se puede agrupar sin type="module"

Al implementar una aplicación web con Vite , no puedo implementar el archivo .js. Obteniendo el siguiente problema.

 $ vite build vite v2.8.6 building for production... **\<script src="/index.js"\> in "/index.html" can't be bundled without type="module" attribute** transforming...

No puedo usar en script type=module ya que no tengo que importar código. Si lo uso, entonces viene el error.

Si alguien puede ayudar.

Intenté usar script type=module pero aparece un error. ¿Hay alguna forma de implementar con Vite sin usar type=module ?

about 4 years ago · Juan Pablo Isaza
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!