Giter Site home page Giter Site logo

reactnative's Introduction

ReactNative.iOS

React Native Learning & Experiments

Quick Start Guide: http://facebook.github.io/react-native/docs/getting-started.html

A few edits to make it work:

Need /root/Administor permission:

$ sudo npm install -g create-react-native-app

Hit error because npm 5 is not supported. Need to downgrade npm:

sudo npm install npm@4 -g

4.6.1

$ create-react-native-app my-app

Success! Created Experiments.iOS Inside that directory, you can run several commands:

npm start

Starts the development server so you can open your app in the Expo
app on your phone.

npm run ios

(Mac only, requires Xcode)
Starts the development server and loads your app in an iOS simulator.

npm run android

(Requires Android build tools)
Starts the development server and loads your app on a connected Android
device or emulator.

npm test

Starts the test runner.

npm run eject

Removes this tool and copies build dependencies, configuration files
and scripts into the app directory. If you do this, you can’t go back!

We suggest that you begin by typing:

cd Experiments.iOS

npm start

Happy hacking!

$ npm start

11:50:45: 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

$ sudo sysctl -w kern.maxfiles=5242880

kern.maxfiles: 12288 -> 5242880

$ sudo sysctl -w kern.maxfilesperproc=524288

kern.maxfilesperproc: 10240 -> 524288

$ npm start

11:53:08: Starting packager... Packager started!

› Press Ctrl+C at any time to stop. › Press a to open Android device or emulator, or i to open iOS emulator.

reactnative's People

Contributors

akuang avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.