react-native UIExplorer won't open

后端 未结 3 1187
有刺的猬
有刺的猬 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:20

    I had the same issue. My problem was that I installed node 4.2.2 with nvm but did not set it to be the default version. The shell that was running the build process had my default node.js running which was very old. To fix it, I ran:

    nvm alias default 4.2.2

提交回复
热议问题