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

464
Visualizações
styles.js:1 Uncaught SyntaxError: Cannot use 'import.meta' outside a module

I am getting errors while I run ng serve on a web pack project which I convert from non-webpack.

Non-webpack was working fine.

This is the error I am getting

styles.js:1 Uncaught SyntaxError: Cannot use 'import.meta' outside a module

enter image description here

I check the other answers in StackOverflow. None of them are fixing my issue.

The change which I made in the project is to move the project to a different project structure

Previously the project was the below project structure

Previus Project Structure

But now I am in the current project structure. Current project structure

The one highlighted in the above pic, there was my old project. In addition to this, I added another project called "project-list" which is also having the same error in the browser while I run.

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