<!-- Thank you for reporting an issue. This issue tracker is for bugs and issues found within Node.js core. If you require more general support please file an issue on our help repo. https://github.com/nodejs/help Please fill in as much of the template below as you're able. Version: output of `node -v` Platform: output of `uname -a` (UNIX), or version and 32 or 64-bit (Windows) Subsystem: if known, please specify affected core module name If possible, please provide code that demonstrates the problem, keeping it as simple and free of external dependencies as you are able. --> * **Version**: 8.4.0 * **Platform**: Mac OS * **Subsystem**: <!-- Enter your issue details below this comment. --> As a beginner, to write server, I always see this but cannot find where is the uncaught error. Will you add the line number [or error stack]to this error? Thanks.
Activity
bnoordhuis commentedon Sep 11, 2017
Does
node --trace-warnings script.jswork for you?maicss commentedon Sep 11, 2017
I think this should be an error, and definitely avoid in development, should not be a feature that open by start runtime with some flag.
bnoordhuis commentedon Sep 11, 2017
A quick search would have led you to #12734. To summarize: it's under discussion but won't happen in the v8.x branch.
I'll go ahead and close this out. Your question has been answered and there isn't anything immediately actionable otherwise.