I created a new React Project via the command npx create-react-app agent_mo
project. It has been created but while starting it with npm start
i am getting the following error
相关问题
- How to toggle on Order in ReactJS
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fs
- Refreshing page gives Cannot GET /page_url in reac
- Adding a timeout to a render function in ReactJS
- React Native Inline style for multiple Text in sin
相关文章
- node连接远程oracle报错
- Why would we use useEffect without a dependency ar
- How can make folder with Firebase Cloud Functions
- Is it possible to get ref of props.children?
- Stateless function components cannot be given refs
- @angular-cli install fails with deprecated request
- React testing library: Test attribute / prop
- React/JestJS/Enzyme: How to test for ref function?
Listen uses inotify by default on Linux to monitor directories for changes. It's not uncommon to encounter a system limit on the number of files you can monitor. For example, Ubuntu Lucid's (64bit) inotify limit is set to 8192.
You can get your current inotify file watch limit by executing:
When this limit is not enough to monitor all files inside a directory, the limit must be increased for Listen to work properly.
You can set a new limit temporary with:
If you like to make your limit permanent, use:
You may also need to pay attention to the values of max_queued_events and max_user_instances if Listen keeps on complaining.
Run the below command to avoid ENOSPC:
For Arch Linux add this line to
/etc/sysctl.d/99-sysctl.conf
:Then execute:
This will also persist across reboots.
https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers#the-technical-details
References: Node.js: what is ENOSPC error and how to solve?