Notice
Recent Posts
Recent Comments
Link
반응형
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- java
- github branch
- 쉽게배우는운영체제
- GitHub
- Python
- 우분투리눅스
- ai개발밋업
- ann
- Django
- Git
- repository 복구
- RNN
- 파이썬
- 2020정보처리기사
- 부스트캠프 AI Tech
- Swing
- 리눅스연습문제
- BPTT
- 운영체제연습문제
- backpropagation
- 리눅스7장
- 판교퇴근길밋업
- CNN
- 자바
- homebrew설치
- MAC OS
- 딥러닝
- 운영체제
- AIStages
- 정보처리기사
Archives
- Today
- Total
코딩하는 애옹😸
Error: ENOSPC: System limit for number of file watchers reached 본문
Programming/Issues
Error: ENOSPC: System limit for number of file watchers reached
DevYe 2022. 5. 27. 22:03728x90
반응형
오류 내용 :
VScode에서 react를 실행할 때, 아래와 같은 오류 메세지가 나타났습니다.
Error: ENOSPC: System limit for number of file watchers reached
...
다른 분들은 아래와 같이 fileWatcher의 limit를 늘려주는 방법으로 해결했지만,
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
저는 'sudo sysctl -p' 명령어를 입력했을 때,
sysctl: setting key "fs.inotify.max_user_watches": Read-only file system
Read-only라서 적용이 되지 않았습니다.
How to solve :
실험해본 결과, jupyter lab에서는 react가 제대로 작동하는 것을 보고 VScode 상의 문제라는 것을 알게 됐습니다.
먼저, VSCode에서 Settings을 들어갑니다.
- On Windows/Linux - File > Preferences > Settings
- On macOS - Code > Preferences > Settings
'watcher'을 검색한 후, '**/node_modules/*/**'을 '**/node_modules/**'로 바꿔주면 됩니다.
해결!
단순 watcher의 개수를 늘려주는 것은 더 많은 폴더가 node_modules에 추가됐을 때 다시 문제를 일으킬 수 있습니다. 따라서 VScode에서 설정을 바꿔주는 것이 앞으로 기능들을 확장하게 될 때 더 도움이 될 것입니다.
반응형
'Programming > Issues' 카테고리의 다른 글
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbb in position 0: invalid start byte (0) | 2020.05.27 |
---|---|
No module named keras (0) | 2020.05.15 |
ValueError: multilabel-indicator is not supported (0) | 2020.05.14 |
Comments