IOS 应用无法运行



  • 用React Native构建的应用,运行的时候报错:
    TransformError: /Users/zhouzhongguang/AwesomeProject/node_modules/react-native/node_modules/react-transform-hmr/node_modules/react-proxy/node_modules/react-deep-force-update/lib/index.js: Cannot read property 'error' of null
    See logs /var/folders/5k/nyjtjxx93dv5h0pgf_07q0fc0000gn/T/react-packager.log
    at SocketClient._handleMessage (SocketClient.js:139:23)
    at BunserBuf.<anonymous> (SocketClient.js:53:42)
    at emitOne (events.js:77:13)
    at BunserBuf.emit (events.js:169:7)
    at BunserBuf.process (/Users/zhouzhongguang/AwesomeProject/node_modules/react-native/node_modules/bser/index.js:289:10)
    at /Users/zhouzhongguang/AwesomeProject/node_modules/react-native/node_modules/bser/index.js:244:12
    at doNTCallback0 (node.js:419:9)
    at process._tickCallback (node.js:348:13)
    Command /bin/sh failed with exit code 1
    求大神帮忙看下是什么问题



  • 看了这个http://blog.sina.com.cn/s/blog_6471e1bb0102w5xu.html帖子,这个问题解决了