react-native UIExplorer won't open

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

    const is ECMA6 (ES6) javascript syntax. If you have an older version of node without ES6 support you would get this error. Node 4.X versions have ES6 support. Hence upgrading solves the problem.

提交回复
热议问题