When I start the start of yarn in my React Native application project folder, I get this error:
yarn v1.3.2$ response-native-scripts will start21:58:08: The server could not startSee https://git.io/v5vcn for more information: install the watchman or run the following snippet: sudo sysctl -w kern. maxfiles = 5242880 sudo sysctl -w kern.maxfilesperproc = 524288Command line error with exit code 1.info Visit https://yarnpkg.com/en/docs/cli/run for documentation on this command.
yarn v1.3.2$ response-native-scripts will start21:58:08: The server could not startSee https://git.io/v5vcn for more information: install the watchman or run the following snippet: sudo sysctl -w kern. maxfiles = 5242880 sudo sysctl -w kern.maxfilesperproc = 524288
Command line error with exit code 1.info Visit https://yarnpkg.com/en/docs/cli/run for documentation on this command.
After I executed two commands - sudo sysctl -w kern.maxfiles=5242880and sudo sysctl -w kern.maxfilesperproc=524288- from the error message yarn startworked, I liked to expect.
sudo sysctl -w kern.maxfiles=5242880
sudo sysctl -w kern.maxfilesperproc=524288
yarn start
Source: https://habr.com/ru/post/1689802/More articles:Can I create a Comparator object from a lambda expression without an explicit variable? - javaHow can I populate an optional collection property with a default value? - jsonHow to create a grouped box in R? - rC ++ Array (excluding the number of repetitions) - c ++A list populating duplicate data when it shouldn't - listSearch in very large files on 32-bit systems - cAdd custom slope and intercept geom_smooth to R - rto react with a 16-fragment functional component and typescript TS2605 - reactjsFlip the story object in javascript - javascriptHow to automatically expand json view in Firefox Quantum Developer Edition? - jsonAll Articles