holepunchto / bare-expo

Example of embedding Bare in an Expo application using https://github.com/holepunchto/react-native-bare-kit
Apache License 2.0
8 stars 2 forks source link

EMFILE: too many open files #5

Closed haruelrovix closed 1 month ago

haruelrovix commented 1 month ago

Logs:

› Signing   Bare » __preview.dylib
› Signing   Bare » Bare.app
    Run script build phase '[CP-User] [Hermes] Replace Hermes for the right configuration, if needed' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'hermes-engine' from project 'Pods')
› Build Succeeded

› 0 error(s), and 4 warning(s)

Starting Metro Bundler
<qr-code>

› Metro waiting on to.holepunch.bare.expo://expo-development-client/?url=http%3A%2F%2F192.168.68.112%3A8081
› Scan the QR code above to open the project in a development build. Learn more

› Using development build
› Press s │ switch to Expo Go

› Press a │ open Android
› Press i │ open iOS simulator
› Press w │ open web

› Press j │ open debugger
› Press r │ reload app
› Press m │ toggle menu
› Press o │ open project code in your editor

› Press ? │ show all commands

› Installing on iPhone 16 Pro Max
› Opening on iPhone 16 Pro Max (to.holepunch.bare.expo)
Error: EMFILE: too many open files, watch
    at FSEvent.FSWatcher._handle.onchange (node:internal/fs/watchers:207:21)

➜  bare-expo git:(master) git log

commit a6a9addec620858da8adb11feaafa3993e73a319 (HEAD -> master, origin/main, origin/HEAD, main)
Author: Kasper Isager Dalsgarð <kasperisager@hey.com>
Date:   Fri Sep 20 12:59:07 2024 +0200

    Add license

commit 5b998dbbebfafa8800862556c412eff59d13f81e
Author: Kasper Isager Dalsgarð <kasperisager@hey.com>
Date:   Mon Sep 16 09:42:30 2024 +0200

    Update iOS identifier and icons

    ...

➜  bare-expo git:(master) node -v
v20.12.2

➜  bare-expo git:(master) sw_vers
ProductName:        macOS
ProductVersion:     15.0
BuildVersion:       24A335
supersuryaansh commented 1 month ago

Install and run Watchman.

haruelrovix commented 1 month ago

Man @supersuryaansh , TYSM!

image
haruelrovix commented 1 month ago

Android Emulator

supersuryaansh commented 1 month ago

🔥