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

kpm ls --json is truncated (for large trees?) #482

Closed
yungsters opened this issue Sep 29, 2016 · 3 comments
Closed

kpm ls --json is truncated (for large trees?) #482

yungsters opened this issue Sep 29, 2016 · 3 comments

Comments

@yungsters
Copy link

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
Running yarn ls --json outputs a JSON structure that starts with, {"type:"tree","data":. For what I imagine only to be large dependency trees, the output gets truncated.

If the current behavior is a bug, please provide the steps to reproduce.
In the React Native repository, try running yarn ls --json.

What is the expected behavior?
The full JSON tree should be written to stdout without being truncated.

Please mention your node.js, yarn and operating system version.
node@6.4.0, yarn@0.13.5, macOS@10.12.0

@zertosh
Copy link
Member

zertosh commented Oct 4, 2016

I can't repro. I'm using node@6.7.0 and macOS@10.11.6- I wonder if it's a sierra thing (wouldn't be the first time something like this happens nodejs/node#6773)

@cpojer
Copy link
Contributor

cpojer commented Oct 5, 2016

@yungsters can you upgrade to 6.7 and let us know if it repros?

I've experienced this a lot since 0.10 until just this week. In Jest we fall back to print large strings character-by-character because the process sometimes randomly quits.

@yungsters
Copy link
Author

Hmm... looks like I cannot repro the bug now, either. Will re-open with more information if this happens again. Sorry. 👎

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

3 participants