我已在我的 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
+ [email protected]
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.
我已经添加了一个环境变量节点路径指向纽曼目录C:\Users\ABC\AppData\Roaming\npm\node_modules\newman
但没有运气。请有人帮忙。
添加在Path环境变量下的变量可以解决问题,即使我们don't add in 节点路径
C:\用户\您的用户名\应用程序数据\漫游\npm
这样做之后reopen命令提示符
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)