Skip to content
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

pod install executor doesn't print the specific error message in the terminal #16239

Closed
MetaBenji opened this issue Apr 11, 2023 · 1 comment · Fixed by #16386
Closed

pod install executor doesn't print the specific error message in the terminal #16239

MetaBenji opened this issue Apr 11, 2023 · 1 comment · Fixed by #16386
Labels
outdated scope: react-native Issues relating to React Native type: bug

Comments

@MetaBenji
Copy link

Current Behavior

The executor @nrwl/react-native:pod-install is not passing on error messages when pod install fails. If I use nx:run-commands instead, then the error message is printed in the terminal.

Here is what my nx:run-commands setting looks like:

"executor": "nx:run-commands",
      "options": {
        "cwd": "apps/spatial-mobile/ios",
        "command": "pod install"
      }

Expected Behavior

I expect pod install errors to be printed in the terminal because it makes it much more difficult to debug.

GitHub Repo

No response

Steps to Reproduce

  1. Put an error in your pod file
  2. You'll see it doesn't bubble up the error

Nx Report

Node : 16.13.0
   OS   : darwin arm64
   yarn : 1.22.19
   
   nx                      : 15.9.2
   @nrwl/js                : 15.9.2
   @nrwl/jest              : 15.9.2
   @nrwl/linter            : 15.9.2
   @nrwl/workspace         : 15.9.2
   @nrwl/cli               : 15.9.2
   @nrwl/detox             : 15.9.2
   @nrwl/devkit            : 15.9.2
   @nrwl/eslint-plugin-nx  : 15.9.2
   @nrwl/next              : 15.9.2
   @nrwl/node              : 15.9.2
   @nrwl/react             : 15.9.2
   @nrwl/react-native      : 15.9.2
   @nrwl/tao               : 15.9.2
   @nrwl/webpack           : 15.9.2
   typescript              : 5.0.4
   ---------------------------------------
   Community plugins:
   @ns3/nx-jest-playwright : 4.1.0

Failure Logs

No response

Additional Information

No response

@github-actions
Copy link

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated scope: react-native Issues relating to React Native type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants