【问题标题】:Error while trying to install nodemon with Discord.js [duplicate]尝试使用 Discord.js 安装 nodemon 时出错 [重复]
【发布时间】:2020-12-24 09:03:43
【问题描述】:

当我尝试使用 npm install -g nodemon 安装 nodemon 时,出现以下错误:

'nodemon' is not recognized as an internal or external command,
operable program or batch file.

【问题讨论】:

  • 试过了,但最后它给出了同样的错误并且不允许我使用 nodmon 说'nodemon' is not recognized as an internal or external command, operable program or batch file.
  • 你是在安装nodemon的index目录下运行的吗?尝试使用npm i --s nodemon 重新安装。
  • 还是不行。是的,它安装在索引目录中
  • 是的,非常感谢您

标签: node.js discord discord.js npm-install nodemon


【解决方案1】:

【讨论】:

  • 试过了,还是不让我用nodmeon。说它是一个无法识别的文件或其他东西
  • 尝试重新安装 nodemon 或将其直接添加到您的 package.json 并使用 npm install
  • 已经试过了
猜你喜欢
  • 2020-02-28
  • 2013-11-18
  • 2017-05-10
  • 2020-08-20
  • 2021-08-05
  • 1970-01-01
  • 2015-07-03
  • 2017-11-07
  • 2021-12-26
相关资源
最近更新 更多