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

211
Views
Cannot find module 'semver/functions/cmp' React Native CLI

I have been developing the application in Expo. I've had to revert to using React Native CLI as I need access to a package Expo doesn't support. My project didn't run so I've built a new project by copying across all .js files and then yarn installing all the packages I need.

It's failing to build with the following error. Can anyone help? I have no idea what's going on, I'm new to react native and the environment.


error: index.js: [BABEL] C:\Users\owenj\OneDrive\Desktop\FYP\GlucoseProject\FYP\index.js: Cannot find module 'semver/functions/cmp'
Require stack:
- C:\Users\owenj\OneDrive\Desktop\FYP\GlucoseProject\FYP\node_modules\core-js-compat\helpers.js
- C:\Users\owenj\OneDrive\Desktop\FYP\GlucoseProject\FYP\node_modules\core-js-compat\get-modules-list-for-target-version.js
- C:\Users\owenj\OneDrive\Desktop\FYP\GlucoseProject\FYP\node_modules\babel-plugin-polyfill-corejs3\core-js-compat\get-modules-list-for-target-version.js
- C:\Users\owenj\OneDrive\Desktop\FYP\GlucoseProject\FYP\node_modules\babel-plugin-polyfill-corejs3\lib\index.js
- C:\Users\owenj\OneDrive\Desktop\FYP\GlucoseProject\FYP\node_modules\@babel\plugin-transform-runtime\lib\index.js
- C:\Users\owenj\OneDrive\Desktop\FYP\GlucoseProject\FYP\node_modules\metro-react-native-babel-preset\src\configs\main.js
- C:\Users\owenj\OneDrive\Desktop\FYP\GlucoseProject\FYP\node_modules\metro-react-native-babel-preset\src\index.js
- C:\Users\owenj\node_modules\@babel\core\lib\config\files\module-types.js
- C:\Users\owenj\node_modules\@babel\core\lib\config\files\configuration.js
- C:\Users\owenj\node_modules\@babel\core\lib\config\files\index.js
- C:\Users\owenj\node_modules\@babel\core\lib\index.js
- C:\Users\owenj\node_modules\metro-transform-worker\src\index.js
- C:\Users\owenj\node_modules\metro\src\DeltaBundler\Worker.js
- C:\Users\owenj\node_modules\jest-worker\build\workers\processChild.js (While processing: "C:\\Users\\owenj\\OneDrive\\Desktop\\FYP\\GlucoseProject\\FYP\\node_modules\\metro-react-native-babel-preset\\src\\index.js")```
about 4 years ago · Juan Pablo Isaza
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!