react-native UIExplorer won't open

后端 未结 3 1203
有刺的猬
有刺的猬 2021-02-20 03:57

I\'m trying to view the UIExplorer on Xcode. I have followed the example and it should be simple. It says to clone react-native, cd to directory, npm install and run npm start.

3条回答
  •  忘了有多久
    2021-02-20 04:30

    I have the same problem a moment ago, and my solution is update the NodeJS version to V4.0.0 , after completing, delete the react-native folder, do the original step again.

    git clone https://github.com/facebook/react-native.git
    
    cd react-native && npm install
    
    npm start
    

    it is working, hope this could help you.

提交回复
热议问题