【发布时间】:2018-12-25 03:37:13
【问题描述】:
我在我的 64 位 Win 10 机器上安装了最新版本的 Newman (3.10.0)。
C:\Users\ABC>npm install -g newman
C:\Users\ABC\AppData\Roaming\npm\newman -> C:\Users\ABC\AppData\Roaming\npm\node_modules\newman\bin\newman.js
+ newman@3.10.0
added 195 packages in 57.852s
但是,我无法使用 newman,并且在访问时遇到错误。
C:\Users\ABC>newman -h
'newman' is not recognized as an internal or external command,
operable program or batch file.
我为 NODE_PATH 添加了一个环境变量,指向 newman 目录C:\Users\ABC\AppData\Roaming\npm\node_modules\newman
但没有运气。有人可以帮忙吗。
【问题讨论】: