-
Notifications
You must be signed in to change notification settings - Fork 886
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid json for config beacuse previous logger.info call #1093
Comments
ulimit call will also fail when run under rootless container, such as:
Result
this bug is only blocker that make compiling my react native app in rootless container fail (after changing ulimit call to /bin/true in setup_env.sh it work) |
We should be safe to move this check: Lines 209 to 213 in 15f5c7b
up, right after this one: Lines 182 to 183 in 15f5c7b
Are you open to make a PR? :) |
Your instructions for a patch looks ok (moving the check will fix the issue). |
@TMaszko is on it :) |
Closed via #1131 |
Description
My react-native app build failed because of #1090 but the underlying bug is that calling
node ./node_modules/react-native/cli.js config
will result in invalid json as it will contain at the beginning the message:"info React Native CLI will continue to run if your local environment matches what React Native expects. If it does fail, check out"
cli/packages/cli/src/index.ts
Lines 198 to 200 in 15f5c7b
Even after fixing #1090 it still can happen as ulimit call can fail, for example with "Operation not permitted"
Reproducible Demo
Result
The text was updated successfully, but these errors were encountered: