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

490
Vistas
npm run build doesn't work and has error in webpack project

today I enter npm run build in the terminal and then the project doesn't run anymore and it gave me 90 errors and 13 warnings. It worked yesterday but today it doesn't. I really don't know what is the problem. I didn't change anything but a line of code that was javascript and has nothing to do with node modules or package JSON or ...

webpack version 5.69.1 node version 14.19.1 npm version 6.14.16

webpack 5.69.1 compiled with 90 errors and 13 warnings in 26714 ms
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! @mrghazian/editor@1.3.954 build: `webpack --config ./webpack.config.js --mode=production`
    npm ERR! Exit status 1
    npm ERR! 
    npm ERR! Failed at the @mrghazian/editor@1.3.954 build script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/ila/.npm/_logs/2022-04-12T07_22_51_190Z-debug.log
about 4 years ago · Santiago Gelvez
1 Respuestas
Responde la pregunta

0

I finally found the problem.

I had added this line to one of my js files and it was the cause of all errors.

import { AsyncDependenciesBlock } from "webpack";

I deleted it now and all is good.

about 4 years ago · Santiago Gelvez Denunciar
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