Trying to run any native app fails

0
I would appreciate help as I am doing Advanced course and it is the first time I stumbled on so many problems I can't seem to solve.   1. I was following learning "Build a Native Mobile Inspection App" on company's windows laptop and I couldn't make the laptop app visible for my mobile (same wifi, opened router ports temporarily, tried connecting laptop to mobile hotspot, checked windows firewall, changed wifi setting to private).  Tried from browser and MakeItNative 10. Tried downloading example from academy and running 9.24 and corresponding MakeItNative 9 (on iOS). The apps seem to be running correctly but there is no connection between mobile and laptop.   2. I thought I will at least try to make even hello world type of native app work and on my mac laptop I installed latest 10.21, started blank native mobile app project and run the app. Responsive localhost app works but I got error while the app was launching.   I guess the file it suggests is native_packager_log.txt and inside I found this:   [Output] info Welcome to React Native v0.75[Output] info Starting dev server on port 8083... [Output] MxTerminalReporter: {"event":"initialize_started"} [Output]                 Welcome to Metro v0.80.12 [Output]               Fast - Scalable - Integrated [Error] node:events:497 [Error]       throw er; // Unhandled 'error' event [Error]       ^ [Error] Error: EMFILE: too many open files, watch [Error]     at FSWatcher._handle.onchange (node:internal/fs/watchers:207:21) [Error] Emitted 'error' event on NodeWatcher instance at: [Error]     at FSWatcher._checkedEmitError (/Applications/Studio Pro 10.21.1.64969-Beta.app/Contents/modeler/tools/node/node_modules/metro/node_modules/metro-file-map/src/watchers/NodeWatcher.js:82:12) [Error]     at FSWatcher.emit (node:events:519:28) [Error]     at FSWatcher._handle.onchange (node:internal/fs/watchers:213:12) { [Error]   errno: -24, [Error]   syscall: 'watch', [Error]   code: 'EMFILE', [Error]   filename: null [Error] } [Error] Node.js v20.16.0
asked
0 answers