1. Command /bin/sh failed with exit code 1
错误
需要再设置里,Bulid Phases->Bundle React Native code and images 中勾选
Run script only when installing
2. 类似如下的错误,提示 [BABEL] Unknown option: node_modules/react-deep-force-update/.babelrc.stage
2016-01-20 19:49:17.845 [error][tid:main] TransformError: /Users/widuu/React/Blog/node_modules/react-deep-force-update/lib/index.js: [BABEL] /Users/widuu/React/Blog/node_modules/react-deep-force-update/lib/index.js: Unknown option: /Users/widuu/React/Blog/node_modules/react-deep-force-update/.babelrc.stage
这个只需要删除你的项目文件夹下的 node_modules/react-deep-force-update/.babelrc
发表评论 取消回复