【发布时间】:2021-12-20 08:02:22
【问题描述】:
我尝试按照 Clinic.js https://clinicjs.org/documentation/ 的文档进行操作
首先我按照指示在全球范围内安装了诊所
npm install -g clinic
安装时出现
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
C:\Users\ASUS\AppData\Roaming\npm\clinic -> C:\Users\ASUS\AppData\Roaming\npm\node_modules\clinic\bin.js
+ clinic@9.0.0
updated 3 packages in 210.329s
之后,当我尝试运行命令 clinic --help 时,我收到错误 'clinic' is not recognized as an internal or external command, operable program or batch file.
我的节点版本是v14.15.1。
知道如何解决这个问题吗?
【问题讨论】:
-
运行安装时会发生什么?
-
@about14sheep 你好,我编辑了问题
标签: node.js command-line-interface profiling node-modules