node:events:355
throw er; // Unhandled 'error' event
^
Error: EMFILE: too many open files, watch
at FSEvent.FSWatcher._handle.onchange (node:internal/fs/watchers:179:28)
Emitted 'error' event on NodeWatcher instance at:
at NodeWatcher.checkedEmitError (/Users/jinguijung/kyulabs/RestockReminder/node_modules/sane/src/node_watcher.js:143:12)
at FSWatcher.emit (node:events:378:20)
at FSEvent.FSWatcher._handle.onchange (node:internal/fs/watchers:185:12) {
errno: -24,
syscall: 'watch',
code: 'EMFILE',
filename: null
}
npm ERR! code 1
npm ERR! path /Users/jinguijung/kyulabs/RestockReminder
npm ERR! command failed
npm ERR! command sh -c react-native start
Shell
복사
RN Meta 시작: npm run start 후
iOS, Android 에서 연결할 때 발생하는 오류
watchman 을 재설치한다. 원인은 파악하지 못함
brew install watchman
Shell
복사
Android build 시에 발생하는 에러
minSdkVersion 를 21 이상으로 올린다