Saturday, January 27, 2024
HomeiOS Developmentios - React native metro bundler fails with error at loading property...

ios – React native metro bundler fails with error at loading property JSON


I’ve an outdated react native mission. I’m making an attempt to set it up nevertheless the code fails once I run the mission utilizing react-native run-ios. My node model is 14.21.0

Right here is the error

Error: @build-script-error-begin
Error loading property JSON from Metro. Make sure you've adopted all expo-updates set up steps accurately. Unable to resolve module ./timeSessions from /Customers/xx/Desktop/xxxx/src/retailer/index.js: 

None of those recordsdata exist:
  * src/retailer/timeSessions(.native|.ios.js|.native.js|.js|.ios.json|.native.json|.json|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.svg|.native.svg|.svg)
  * src/retailer/timeSessions/index(.native|.ios.js|.native.js|.js|.ios.json|.native.json|.json|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.svg|.native.svg|.svg)
  20 | import schedules from './schedule';
  21 | import quotes from './quotes';
> 22 | import timeSessions from './timeSessions';
     |                           ^
  23 | import insights from './insights';
  24 | import crews from './crew';
  25 |
@build-script-error-end

    at /Customers/xxx/Desktop/xxxxxx/node_modules/expo-updates/scripts/createManifest.js:39:11
    at processTicksAndRejections (inside/course of/task_queues.js:95:5)
Command PhaseScriptExecution failed with a nonzero exit code

Please information me what is that this situation and how one can resolve it



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments