Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

121
Visualizações
Vue 3 yarn serve stuck at 42% when importing external js file

Vue 3 yarn serve stuck at 42% when I try to import an external js file into main.ts.

This is what causes the issue:

main.ts

import '@/assets/js/jquery.min.js';

No error just stuck at:

42% building 267/276 modules 9 active /Users/mark/Documents/workspace/testapp/test-web/node_modules/html-entities/lib/surrogate-pairs.js

When I try to import any external js file I have the same issue.

As there is no error output as such, can anyone tell me what I'm doing incorrectly?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Did you put the jquery javascript file in that folder? Try to add the dependence using package.json and import it like this example https://www.npmjs.com/package/jquery

I see that you're using typescript because of your main.ts file and usually the app cannot compile js files when you are using typescript in your project

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda