hfour / hfour/wsrun

Error messages from a failing submodule are hidden

Open
#92 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
512
Forks
30
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.