search

Home  >  Q&A  >  body text

react-native - How to run a react native project cloned from github locally

I made a simple react native demo on one computer, using react-native-cli, and then put it on github. Now I clone the project on another computer, and after npm install, react-native run-android reports an error when installed on the simulator. Is there anything that needs to be set up? This clone project computer has run other react-native projects before. Is there any impact?
Now Error app:installDebugException in thread "Device List Monitor" java.lang.NullPointerException

習慣沉默習慣沉默2823 days ago1182

reply all(2)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-05-02 09:53:12

    I don’t know about you. Anyway, if ios reports an error, just upgrade the Xcode version directly. You can also try upgrading your debugging tools

    reply
    0
  • 天蓬老师

    天蓬老师2017-05-02 09:53:12

    The description is not very clear. You need to know which files you uploaded to github. If you only ignore the node_modules file, npm install will be no problem after cloning.

    reply
    0
  • Cancelreply