I am somewhat sorry, because I know there is an other excellent project to get you start create-react-native-app
The generator uses the Expo SDK to bootstrap the application. Installing watchman
is recommended, you can do so by brew install watchman
.
Or you should do
sudo sysctl -w kern.maxfiles=5242880
sudo sysctl -w kern.maxfilesperproc=524288
We highly recommand to use
nvm
(NVM) to manage your Node versions, and to use the most recent versions
You can install
yo
, as you do to use any Yeoman Generator.
npm i -g generator-create-react-native
Have fun.
# create directory
mkdir my-new-app && cd $_ && create-react-native
# or let it do for your
create-react-native my-new-app
We can highly recommend to consult the Yeoman Guide to write your own Yeoman Generator. Most importantly, to use the generator locally, you have to npm link
the generator.