【问题标题】:How to fix this error while running a discord bot?如何在运行不和谐机器人时解决此错误?
【发布时间】:2022-01-13 21:58:44
【问题描述】:
Debugger attached.
Waiting for the debugger to disconnect...
internal/modules/cjs/loader.js:905
  throw err;
  ^

Error: Cannot find module 'node:events'

我在 Visual Studio Code 上使用 discord.js 和 node.js

【问题讨论】:

  • 嗨,亚当,您需要提供更多信息让我们为您提供帮助。请看this post that describes how to ask a good SO question
  • 请澄清您的具体问题或提供其他详细信息以准确突出您的需求。正如目前所写的那样,很难准确地说出你在问什么。

标签: javascript node.js discord bots


【解决方案1】:

要解决此问题,您需要从此处将您的 nodejs 更新到 v16.6 或更高版本,

Download

【讨论】:

    猜你喜欢
    • 2021-11-03
    • 1970-01-01
    • 2020-08-29
    • 2018-04-07
    • 1970-01-01
    • 1970-01-01
    • 2021-04-27
    • 2021-02-05
    • 2017-04-26
    相关资源
    最近更新 更多