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

225
Visualizações
cannot find module '@babel/generator' but it installed

i have " cannot find module '@babel/generator' " error while trying generate signed apk. But i installed this package using yarn add, this is part of my package.json:

 "dependencies": {
    "@babel/cli": "^7.17.6",
    "@babel/generator": "^7.17.9",
    "@babel/plugin-transform-async-to-generator": "^7.16.8",

and my package lock json:

  "dependencies": {
    "@ampproject/remapping": "^2.1.0",
    "@babel/code-frame": "^7.16.7",
    "@babel/generator": "^7.17.9",

and many match when i use ctrl+f in package.lock.json and search babel/generator

about 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

I received the same error when i was trying to install the dependencies of my project.

Solution:

  • Delete the node_modules folder of the project
  • Remove the yarn.lock or package.lock file from your project
  • Install the dependencies again, by using yarn or npm install command.

The above steps fixed my error with the @babel/generator.

about 4 years ago · Santiago Trujillo Relatório

0

Simply delete the node_modules folder and re-install all the packages by running npm install or yarn install.

If the error persists, simply install the @babel/generator package to your project or globally.

Check out the package and installation guide here

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