vscode 怎样关闭控制台自动弹出?

发布于 2022-09-11 17:39:50 字数 107 浏览 38 评论 0

图片描述

如图所示。
控制台总是会自动弹出来提示错误,但我不希望它自动弹出,有哪里能设置的吗?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

冷血 2022-09-18 17:39:50

[Error - 下午6:36:10] Failed to load jshint library
(node:9324) UnhandledPromiseRejectionWarning: Error: Failed to load jshint library. Please install jshint in your workspace folder using 'npm install jshint' or globally using 'npm install -g jshint' and then reload.

at Linter.<anonymous> (c:\Users\Administrator\.vscode\extensions\dbaeumer.jshint-0.11.0\jshint-server\out\server.js:336:23)
at Generator.throw (<anonymous>)
at rejected (c:\Users\Administrator\.vscode\extensions\dbaeumer.jshint-0.11.0\jshint-server\out\server.js:9:65)
at processTicksAndRejections (internal/process/task_queues.js:93:5)

(Use Code --trace-warnings ... to show where the warning was created)
(node:9324) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.ht...). (rejection id: 1)
(node:9324) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[Error - 下午6:36:16] Failed to load jshint library
(node:9324) UnhandledPromiseRejectionWarning: Error: Failed to load jshint library. Please install jshint in your workspace folder using 'npm install jshint' or globally using 'npm install -g jshint' and then reload.

at Linter.<anonymous> (c:\Users\Administrator\.vscode\extensions\dbaeumer.jshint-0.11.0\jshint-server\out\server.js:336:23)
at Generator.throw (<anonymous>)
at rejected (c:\Users\Administrator\.vscode\extensions\dbaeumer.jshint-0.11.0\jshint-server\out\server.js:9:65)
at processTicksAndRejections (internal/process/task_queues.js:93:5)

(node:9324) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.ht...). (rejection id: 2)
[Error - 下午6:36:20] Failed to load jshint library
(node:9324) UnhandledPromiseRejectionWarning: Error: Failed to load jshint library. Please install jshint in your workspace folder using 'npm install jshint' or globally using 'npm install -g jshint' and then reload.

at Linter.<anonymous> (c:\Users\Administrator\.vscode\extensions\dbaeumer.jshint-0.11.0\jshint-server\out\server.js:336:23)
at Generator.throw (<anonymous>)
at rejected (c:\Users\Administrator\.vscode\extensions\dbaeumer.jshint-0.11.0\jshint-server\out\server.js:9:65)
at processTicksAndRejections (internal/process/task_queues.js:93:5)

(node:9324) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.ht...). (rejection id: 3)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文