Please make our job easier by filling this template out to completion. If you're requesting a feature instead of reporting a bug, please feel free to skip the Environment and Reproducible Demo sections.
I'm trying to install react native for the first times I'm a new user, i just want to write code i hate that i have to go through so many installations and fix so many errors, i have created a react native project using
create-react-native-app AwesomeProject
cd AwesomeProject
npm start
What actually happened when you performed the above actions?
If there's an error message, please paste the full terminal output and error message in this code block:
Last login: Sat Oct 7 08:00:53 on ttys001
Bombatas-MacBook-Pro:~ bombata$ cd AwesomeProject
Bombatas-MacBook-Pro:AwesomeProject bombata$ npm start
> [email protected] start /Users/bombata/AwesomeProject
> react-native-scripts start
08:23:48: Unable to start server
See https://git.io/v5vcn for more information, either install watchman or run the following snippet:
sudo sysctl -w kern.maxfiles=5242880
sudo sysctl -w kern.maxfilesperproc=524288
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `react-native-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/bombata/.npm/_logs/2017-10-07T07_23_48_639Z-debug.log
Bombatas-MacBook-Pro:AwesomeProject bombata$
Please run these commands in the project folder and fill in their results:
npm ls react-native-scripts: -bash: /Users/bombata: is a directorynpm ls react-native:/Users/bombatanpm ls expo:/Users/bombatanode -v:v8.0.0npm -v:4.6.1yarn --version: command not foundwatchman version:command not foundAlso specify:
Please provide a minimized reproducible demonstration of the problem you're reporting.
Issues that come with minimal repro's are resolved much more quickly than issues where a maintainer has to reproduce themselves.
hello!
notice the suggestion in the error message:
See https://git.io/v5vcn for more information, either install watchman or run the following snippet:
sudo sysctl -w kern.maxfiles=5242880
sudo sysctl -w kern.maxfilesperproc=524288
try that out and if it doesn't work let me know!
Most helpful comment
hello!
notice the suggestion in the error message:
try that out and if it doesn't work let me know!