"starting yarn" for the React Native application fails with the error "Unable to start the server",

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 start
21:58:08: The server could not start
See 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.

+4
source share
1 answer

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.

+5
source

Source: https://habr.com/ru/post/1689802/


All Articles