GitHub - peerism/peer.ai: peer.ai proof-of-concept app (iOS, Android, Web)

  • Install Node Version Manager (NVM)
  • Install latest stable version of Node.js using NVM (includes NPM), switch to using, and check where installed
    nvm install v8.0.0; nvm use v8.0.0; nvm list; which node;
    
  • Update PATH by appending Node Package Manager (NPM) binary to end of Bash Profile config and reset shell environment
    echo 'export PATH="/usr/local/share/npm/bin:$PATH"' >> ~/.bash_profile; source ~/.bash_profile
    
  • Install Watchman
    brew install watchman; brew upgrade watchman; which watchman
    
  • Install React Native CLI globally and update package.json
    cd PeerAI; yarn add global react-native-cli; yarn add react-native
    
  • Install Yarn and NPM dependencies
    cd PeerAI; yarn install --verbose; npm install --verbose