π Studying/π§ Errors
[ReactNative] Expo μλ² μ€νμ Error: EMFILE: too many open files, watch
sero.
2023. 1. 9. 10:07
728x90
μλ¬ λ°μ
λ©μ©‘ν μ λκ³ μλ expo μλ²κ° κ°μκΈ° yarn start
νλ μλ μ€λ₯λ₯Ό λ΄λ©΄μ μ’
λ£λμλ€.
node:events:505
throw er; // Unhandled 'error' event
^
Error: EMFILE: too many open files, watch
at FSWatcher._handle.onchange (node:internal/fs/watchers:204:21)
Emitted 'error' event on NodeWatcher instance at:
at NodeWatcher.checkedEmitError (/Users/yjlee/project/intermission/node_modules/sane/src/node_watcher.js:143:12)
at FSWatcher.emit (node:events:527:28)
at FSWatcher._handle.onchange (node:internal/fs/watchers:210:12) {
errno: -24,
syscall: 'watch',
code: 'EMFILE',
filename: null
}
Node.js v18.0.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
watch... μ κ΄λ ¨λ λκ°μ λ¬Έμ κ° μλ..
μ°Ύμ보λ 리μ‘νΈ λ€μ΄ν°λΈ λ΄λΆμμ νμΌλ€μ λ³κ²½μ κ°μνκΈ° μν΄ watchmanμ μ¬μ©νλ λͺ¨μμ΄λ€.
ν°λ―Έλμ μ΄μ΄μ watchmanμ μ€μΉν΄μ£Όλ©΄ λ€μ μ€νλλ€.
brew install watchman
μ°Έκ³ κΈ
728x90