React native guess number app
React native (Ios - Android)
Get Started
- Install Node @latest or newer. Need to run multiple versions of Node? Use nvm or nvm-windows
- Navigate to this project's root directory on the command line.
- Install Node Packages. -
npm install
- Having issues? See below.
Having Issues? Try these things first:
- Run
npm install
- If you forget to do this, you'll get an error when you try to start the app later.
- Don't run the project from a symbolic link. It will cause issues with file watches.
- Delete any .eslintrc in your user directory and disable any ESLint plugin / custom rules within your editor since these will conflict with the ESLint rules defined in the course.
- On Windows? Open your console as an administrator. This will assure the console has the necessary rights to perform installs.
- Ensure you do not have NODE_ENV=production in your env variables as it will not install the devDependencies. To check run this on the command line:
set NODE_ENV
. If it comes back as production, you need to clear this env variable.
- Nothing above work? Delete your node_modules folder and re-run npm install.
Production Dependencies
Dependency |
Use |
react |
React library |
react-native |
React mobile library |
expo |
Library for unidirectional data flows |
Development Dependencies
Dependency |
Use |
@babel/core |
Transpiles modern JavaScript so it runs cross-browser |
babel-preset-expo |
|
Demo from app