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

460
Vistas
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 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