Error: Command 'codepush release-react -a [MyOrg]/[myapp] -t *' failed with exception "Unable to find or read "package.json" in the CWD. The "release-react" command must be executed in a React Native project folder."
In myapp/package.json I do have a name field specified, though it doesn't exactly match the app name in App Center (surely it doesn't need to), since we are building multiple apps from the same repo for different environments.
I've tried adding execution_dir_path: "../", to try to run it from the project root directory, but that results in the same error.
Should this command work without specifying the execution_dir_path when called from within the ios or android folder?
When running:
from the
myapp/ios
(or android) directory,I'm getting this error:
In
myapp/package.json
I do have a name field specified, though it doesn't exactly match the app name in App Center (surely it doesn't need to), since we are building multiple apps from the same repo for different environments.I've tried adding
execution_dir_path: "../",
to try to run it from the project root directory, but that results in the same error.Should this command work without specifying the execution_dir_path when called from within the
ios
orandroid
folder?