watchman error please help me on ubuntu
- Dominant language
- C++
- Stars
- 13.7k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
jest-haste-map: Watchman crawl failed. Retrying once with node crawler.
Usually this happens when watchman isn't running. Create an empty `.watchmanconfig` file in your project's root folder or initialize a git or hg repository in your project.
Error: Watchman error: A non-recoverable condition has triggered. Watchman needs your help!
The triggering condition was at timestamp=1592389338: inotify-add-watch(/home/arup/Documents/react_native/1/node_modules/deepmerge) -> The user limit on the total number of inotify watches was reached; increase the fs.inotify.max_user_watches sysctl
All requests will continue to fail with this message until you resolve
the underlying problem. You will find more information on fixing this at
https://facebook.github.io/watchman/docs/troubleshooting.html#poison-inotify-add-watch. Make sure watchman is running for this project. See https://facebook.github.io/watchman/docs/troubleshooting.html.
events.js:292
throw er; // Unhandled 'error' event
^
Error: A non-recoverable condition has triggered. Watchman needs your help!
The triggering condition was at timestamp=1592389338: inotify-add-watch(/home/arup/Documents/react_native/1/node_modules/deepmerge) -> The user limit on the total number of inotify watches was reached; increase the fs.inotify.max_user_watches sysctl
All requests will continue to fail with this message until you resolve
the underlying problem. You will find more information on fixing this at
https://facebook.github.io/watchman/docs/troubleshooting.html#poison-inotify-add-watch
at ChildProcess. (/home/arup/Documents/react_native/1/node_modules/fb-watchman/index.js:207:21)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1026:16)
at Socket. (internal/child_process.js:441:11)
at Socket.emit (events.js:315:20)
at Pipe. (net.js:674:12)
Emitted 'error' event on WatchmanWatcher instance at:
at Client. (/home/arup/Documents/react_native/1/node_modules/jest-haste-map/build/lib/WatchmanWatcher.js:130:10)
at Client.emit (events.js:315:20)
at ChildProcess. (/home/arup/Documents/react_native/1/node_modules/fb-watchman/index.js:214:12)
at ChildProcess.emit (events.js:315:20)
[... lines matching original stack trace ...]
at Pipe. (net.js:674:12) {
watchmanResponse: {
version: '4.9.0',
error: 'A non-recoverable condition has triggered. Watchman needs your help!\n' +
'The triggering condition was at timestamp=1592389338: inotify-add-watch(/home/arup/Documents/react_native/1/node_modules/deepmerge) -> The user limit on the total number of inotify watches was reached; increase the fs.inotify.max_user_watches sysctl\n' +
'All requests will continue to fail with this message until you resolve\n' +
'the underlying problem. You will find more information on fixing this at\n' +
'https://facebook.github.io/watchman/docs/troubleshooting.html#poison-inotify-add-watch\n'
}
}
Contributor guide
Assessment
This issue has not been assessed yet.