react-native: Command /bin/sh failed with exit code 1
After upgrading to React Native 0.14 I get this when trying to build. (node 5.0.0; npm 3.3.6)
const setupEnvScript = /^win/.test(process.platform)
^^^^^
Command `bundle` unrecognized. Did you mean to run this inside a react-native project?
Command /bin/sh failed with exit code 1
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 18 (2 by maintainers)
@marclundgren I try Target -> Build-Phases -> Bundle React Native code and Images check Run script only when installing.
@rainer-liao you saved the day - thanks! Any idea why/how this problem seems to appear out of nowhere?
I had a RN 0.13.2 project which was working fine on Xcode 6. Now after upgrading 0.16.0-rc and Xcode 7.1 I’m getting
Command /bin/sh failed with exit code 1
on building. My node version is 4.2.1 and npm is 3.4.0. The solution at #3948 doesn’t seem to work for me either. Any help regarding this?