question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

webpack help message was truncated in node 6

See original GitHub issue

image

And I found the official node manual not recommend to use:

if (someConditionNotMet()) {
  printUsageToStdout();
  process.exit(1);
}

I think this is the reason why the help message was truncated.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
sokracommented, May 25, 2016

run this in the cloned repo:

npm link
npm link webpack
0reactions
rbartolicommented, May 25, 2016

@sokra thanks it did the trick. I’ll submit another PR with those 2 commands added to CONTRIBUTING.md

Read more comments on GitHub >

github_iconTop Results From Across the Web

child_process stdout being truncated #19218 - nodejs/node
It seems like spawn() and exec() is truncating stdout , even when maxBuffer is set. I've been trying to capture the output of...
Read more >
My css file is being cut (truncated) when using css-loader style ...
I just realized that my css file is being cut off when loading it through webpack. Is there a limit in the number...
Read more >
Node.js v19.3.0 Documentation
In legacy assertion mode, error messages for objects display the objects, often truncated. To use strict assertion mode: import { strict as assert...
Read more >
A Comprehensive Guide To Error Handling In Node.js
Errors happen in every application. Devs have to decide: do you write code to handle the error? Suppress it? Notify the user?
Read more >
How To Launch Child Processes in Node.js - DigitalOcean
This program takes the output from the ls command and displays it to the user. In the text editor, add the following code:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found