-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Truncated output of --help
with Node v6.0.0
#1055
Comments
The node issue outlines various potential workarounds, both in user applications and Node itself: nodejs/node#6297. None of which are great. Waiting for direction from the NodeJS project. |
One workaround involves setting The npm module "exit" does work on node 0.10.x however. The fix would be to |
Fix in PR #1056 Edit: PR withdrawn. |
--help
with Node v6.0.0-rc.3--help
with Node v6.0.0
Node 6.0.0 final has been released. |
@mishoo In light of this Node 6.0.0 release and the truncated output of I also have a CR-line-ending parsing fix in the PR queue pending review that is pretty low risk. |
If there's a solution that works after Node 0.12 and doesn't involve a dependency, I'd prefer to go with that. I don't think too many people use older Node… |
If you look at the code for the As for using I think the |
Unfortunately, Node.js 0.10 is still downloaded a lot, its download count is half of that of Node 5 even though it's Node 5 that's been available directly to download from the main https://nodejs.org/ site. |
|
|
A better fix: #1061 |
uglify-js --help
output is truncated in Node v6.0.0-rc.3. I'd guess the cause is similar to nodejs/node#6297 (reported also as alanshaw/david#106) i.e.process.exit()
doesn't guarantee flushingstdout
&stderr
.Output:
The text was updated successfully, but these errors were encountered: