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

743
Views
Error: Child Compilation failed - Module.createRequire is not a function

enter image description hereI have worked on a React/Typescript application on my Mac Machine, and zipped up the application (including node_modules) and emailed it to a colleague via Google Drive (Link). However, I was informed that this error (pictured above) occurred when attempting to run the application with 'npm install' and 'npm run start'. I have tried testing the application by sending the zipped app to my Windows machine and it seems to work fine.

My colleague is on a Linux/Ubuntu machine. I'm not very familiar with Linux, and not quite sure how to resolve this, and am open to suggestions.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Probably your colleague is running outdated version of node and npm. I guess that the project was created with create-react-app. If it's true, your colleague will need to have Node >= 14.0.0 and npm >= 5.6 on the machine.

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