I am experiencing issues with the native app that I have installed on my mobile device. The native app is version 10, and the Mendix version is 10.3.
0
C:\Program Files\Mendix\10.23.0.70273\modeler\tools\node\win-x64\node.exe C:\Program Files\Mendix\10.23.0.70273\modeler\tools\node\node_modules\react-native\cli.js start --config "C:\Users\Veera Pasya\Mendix\Neowin-main\deployment\native\metro.config.js" --custom-log-reporter-path "C:\Program Files\Mendix\10.23.0.70273\modeler\tools\node\MxTerminalReporter.js" --port "8083" [Output] Welcome to React Native v0.77[Output] Starting dev server on http://localhost:8083 [Output] â–’â–’â–“â–“â–“â–“â–’â–’[Output] â–’â–“â–“â–“â–’â–’â–‘â–‘â–’â–’â–“â–“â–“â–’[Output] â–’â–“â–“â–“â–“â–‘â–‘â–‘â–’â–’â–’â–’â–‘â–‘â–‘â–“â–“â–“â–“â–’[Output] â–“â–“â–’â–’â–’â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–’â–’â–’â–“â–“[Output] â–“â–“â–‘â–‘â–‘â–‘â–‘â–’â–“â–“â–“â–“â–“â–“â–’â–‘â–‘â–‘â–‘â–‘â–“â–“[Output] â–“â–“â–‘â–‘â–“â–“â–’â–‘â–‘â–‘â–’â–’â–‘â–‘â–‘â–’â–“â–’â–‘â–‘â–“â–“[Output] â–“â–“â–‘â–‘â–“â–“â–“â–“â–“â–’â–’â–’â–’â–“â–“â–“â–“â–’â–‘â–‘â–“â–“[Output] â–“â–“â–‘â–‘â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–’â–‘â–‘â–“â–“[Output] â–“â–“â–’â–‘â–‘â–’â–’â–“â–“â–“â–“â–“â–“â–“â–“â–’â–‘â–‘â–‘â–’â–“â–“[Output] â–’â–“â–“â–“â–’â–‘â–‘â–‘â–’â–“â–“â–’â–‘â–‘â–‘â–’â–“â–“â–“â–’[Output] â–’â–“â–“â–“â–’â–‘â–‘â–‘â–‘â–’â–“â–“â–“â–’[Output] â–’â–’â–“â–“â–“â–“â–’â–’ [Output] MxTerminalReporter: {"event":"initialize_started"}[Output] Welcome to Metro v0.81.3[Output] Fast - Scalable - Integrated [Output] Waiting for Watchman `query` (10s)...[Output] Waiting for Watchman `query` (10s)...[Output] Watchman `query` finished after 11.0s.[Error] metro-file-map: Watchman crawl failed. Retrying once with node crawler.[Error] Usually this happens when watchman isn't running. Create an empty `.watchmanconfig` file in your project's root folder or initialize a git or hg repository in your project.[Error] Error: Watchman error: query failed: synchronization failed: root dir was removed or is inaccessible. Make sure watchman is running for this project. See https://facebook.github.io/watchman/docs/troubleshooting.[Output] Watchman `query` finished after 11.0s.[Output] Failed to write cache to disk at C:\Users\Veera Pasya\Mendix\Neowin-main\deployment\tmp\native\metro-file-map-18c563fc81455425f8867e8552faa587-adc7714c3491ff242f788efb1205b412[Output] INFO Dev server ready. Press Ctrl+C to exit.[Output] INFO Key commands available: [Output] r - reload app(s)[Output] d - open Dev Menu[Output] j - open DevTools [Error] Error: ENOENT: no such file or directory, open 'C:\Program Files\Mendix\10.23.0.70273\modeler\tools\node\node_modules\@react-native-community\cli-server-api\build\index.html'[Error] at Object.openSync (node:fs:573:18)[Error] at Object.readFileSync (node:fs:452:35)[Error] at indexPageMiddleware (C:\Program Files\Mendix\10.23.0.70273\modeler\tools\node\node_modules\@react-native-community\cli-server-api\build\indexPageMiddleware.js:32:27)[Error] at call (C:\Program Files\Mendix\10.23.0.70273\modeler\tools\node\node_modules\connect\index.js:239:7)[Error] at Immediate.next (C:\Program Files\Mendix\10.23.0.70273\modeler\tools\node\node_modules\connect\index.js:183:5)[Error] at process.processImmediate (node:internal/timers:485:21)[Error] Error: ENOENT: no such file or directory, open 'C:\Program Files\Mendix\10.23.0.70273\modeler\tools\node\node_modules\@react-native-community\cli-server-api\build\index.html'[Error] at Object.openSync (node:fs:573:18)[Error] at Object.readFileSync (node:fs:452:35)[Error] at indexPageMiddleware (C:\Program Files\Mendix\10.23.0.70273\modeler\tools\node\node_modules\@react-native-community\cli-server-api\build\indexPageMiddleware.js:32:27)[Error] at call (C:\Program Files\Mendix\10.23.0.70273\modeler\tools\node\node_modules\connect\index.js:239:7)[Error] at Immediate.next (C:\Program Files\Mendix\10.23.0.70273\modeler\tools\node\node_modules\connect\index.js:183:5)[Error] at process.processImmediate (node:internal/timers:485:21)[Error] Error: ENOENT: no such file or directory, open 'C:\Program Files\Mendix\10.23.0.70273\modeler\tools\node\node_modules\@react-native-community\cli-server-api\build\index.html'[Error] at Object.openSync (node:fs:573:18)[Error] at Object.readFileSync (node:fs:452:35)[Error] at indexPageMiddleware (C:\Program Files\Mendix\10.23.0.70273\modeler\tools\node\node_modules\@react-native-community\cli-server-api\build\indexPageMiddleware.js:32:27)[Error] at call (C:\Program Files\Mendix\10.23.0.70273\modeler\tools\node\node_modules\connect\index.js:239:7)[Error] at Immediate.next (C:\Program Files\Mendix\10.23.0.70273\modeler\tools\node\node_modules\connect\index.js:183:5)[Error] at process.processImmediate (node:internal/timers:485:21)
asked
veera reddy
1 answers
0
Hi Veera,
Mendix Native Build – Error Summary and Fixes
Watchman Crawl Failed
Reason: .watchmanconfig file is missing or Watchman is not running.
Fix: Create an empty .watchmanconfig file in your project root folder.Example: echo {} > .watchmanconfig
Metro Unable to Write Cache
Reason: Path issue or permissions.
Fix: Ensure the deployment/tmp/native/ directory exists and is writable.
ENOENT Error (index.html Not Found)
Reason: Missing file in @react-native-community/cli-server-api package.
Fix:
Run Mendix Studio Pro as Administrator.
Delete deployment/native folder and rebuild the native app.
If issue persists, try running npm install --force inside the native folder.
General Recommendation
Ensure you’re on a stable Mendix version (e.g., 10.23.0 or higher).
Check antivirus or firewall doesn’t block file creation.
Make sure your project folder path doesn’t contain special characters or spaces (Windows issue).
Apply the above steps and restart the Metro server.