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

500
Visualizações
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 Respostas
Responde à pergunta

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