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

lerna run stderr #72

Closed
tmcw opened this issue Feb 26, 2016 · 3 comments
Closed

lerna run stderr #72

tmcw opened this issue Feb 26, 2016 · 3 comments

Comments

@tmcw
Copy link
Contributor

tmcw commented Feb 26, 2016

lerna run test is great for running tests against collections of packages, but it's hard to determine from the error message (in my case, Run script failed Errored while running npm script 'test' in packages.) which package failed and how. Could it output the package that failed, or its stderr?

@jamiebuilds jamiebuilds changed the title Should lerna run output stderr? lerna run stderr Feb 26, 2016
@jamiebuilds
Copy link
Contributor

Makes sense, it already should be dumping it into lerna-debug.log, but we can modify the logger to output the errors as well: https://github.com/kittens/lerna/blob/cdfd26ec17a4c672ee5f7f415bb0eacb22ea9723/lib/utils/logger.js#L13-L29

@tmcw
Copy link
Contributor Author

tmcw commented Oct 17, 2016

👍 looks like this is fixed in master https://github.com/lerna/lerna/blob/master/src/logger.js

@tmcw tmcw closed this as completed Oct 17, 2016
@lock
Copy link

lock bot commented Dec 28, 2018

This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants