Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

216
Views
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 answers
Answer question

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 Report

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!