TLDR;
brew install watchman
When first time running Expo with React Native, you could get some errors with:
더보기
Expo Developer Tools is disconnected from Expo CLI. Use the expo start command to start the CLI again. |
더보기
Logs for your project will appear below. Press Ctrl+C to exit. Error: EMFILE: too many open files, watch at EFSEvent.FSWatcher._handle.onchange(internal/fs/watchers.js:178:28) error Command failed with exit Code 1. |
This maybe be occured by your old watchman version.
So. you just update watchman and re-lunch your project.
brew install watchman
It's work on OSX. and if you use other platform, find a way to update your watchman. (I'm sry)
You maybe need to install the Apple Command Line Tools with the command "xcode-select --install".
After the update, you can see Expo works well.
반응형
'Develop > React Native' 카테고리의 다른 글
[React Native] 이미지 성능 이슈 (0) | 2021.10.05 |
---|---|
[React] Context 를 이용한 전역 데이터 관리 (0) | 2021.04.23 |
[React Native] iOS Build Error On M1 Chip (0) | 2021.03.25 |
[React Native] How to fix pod install error with missing compatible arch (0) | 2021.03.24 |