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

Error messages from a failing submodule are hidden #92

Open
CarstenLeue opened this issue Mar 25, 2020 · 1 comment
Open

Error messages from a failing submodule are hidden #92

CarstenLeue opened this issue Mar 25, 2020 · 1 comment

Comments

@CarstenLeue
Copy link

We have a yarn monorepo and run the build step as follows:

"build": "wsrun --stages --fast-exit --collect-logs --report build:packagr ",

If one one the modules fails we see in a report what module failed but not why, the error output of the failing module is lost. All we see is:

1 packages finished `build:packagr` with error: @prod-publishing-react/block-settings

If we then just run the build command for the failing package again via yarn, e.g. like:

yarn workspace @prod-publishing-react/block-settings build:packagr

we see the reason for the failure on stderr.

Question: how can we make sure to see the stderr of a failing module when using wsrun?

@SethDavenport
Copy link

I'm seeing the same thing. Removing --collect-logs causes the error output to appear, but the output overall is less nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants