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

208
Views
Error: Cannot find module 'xdl' when running "npm start" in React Native

So I recently started learning React Native by following a Udemy course. Until now, everything has worked just fine, but a couple of days ago I got this error message when running the simple "npm start" command. I've tried a few solutions like reinstalling the node_modules folder, updating everything to the latest version, but that did not help. Has anybody got the solution for this?

node:internal/modules/cjs/loader:936

  throw err;

  ^

Error: Cannot find module 'xdl'

Require stack:
- C:\Users\Korisnik\AppData\Roaming\npm\node_modules\expo-cli\build\exp.js
- C:\Users\Korisnik\AppData\Roaming\npm\node_modules\expo-cli\bin\expo.js

    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)

    at Function.Module._load (node:internal/modules/cjs/loader:778:27)

    at Module.require (node:internal/modules/cjs/loader:1005:19)

    at require (node:internal/modules/cjs/helpers:102:18)

    at _xdl (C:\Users\Kori
snik\AppData\Roaming\npm\node_modules\expo-cli\build\exp.js:152:16)

    at Object.<anonymous> (C:\Users\Korisnik\AppData\Roaming\npm\node_modules\expo-cli\build\exp.js:282:1)

    at Module._compile (node:internal/modules/cjs/loader:1105:14)

    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)

    at Module.load (node:internal/modules/cjs/loader:981:32)

    at Function.Module._load (node:internal/modules/cjs/loader:822:12) {

  code: 'MODULE_NOT_FOUND',

  requireStack: [
    'C:\\Users\\Korisnik\\AppData\\Roaming\\npm\\node_modules\\expo-cli\\build\\exp.js',
    'C:\\Users\\Korisnik\\AppData\\Roaming\\npm\\node_modules\\expo-cli\\bin\\expo.js'
  ]
}

Thanks in advance!

about 4 years ago · Santiago Gelvez
1 answers
Answer question

0

download the Git Bash and install it , once it's installed open as administrator and write the code

npm install -g expo-cli --force

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