用Newman来实现postman持续集成时,使用newman-reporter-html打印报告,一直提示找不到“html”,重新安装也没有用
解决方法:
检查一下你的npm安装目录,看看newman和reporter放在同一个目录下了没?
如果没在的话用 npm install newman-reporter-html -g --force 强制安装一遍再试试
之前百度很久都没有找到方法,后面通过强制安装解决了这个问题,希望对大家有用
用Newman来实现postman持续集成时,使用newman-reporter-html打印报告,一直提示找不到“html”,重新安装也没有用
解决方法:
检查一下你的npm安装目录,看看newman和reporter放在同一个目录下了没?
如果没在的话用 npm install newman-reporter-html -g --force 强制安装一遍再试试
之前百度很久都没有找到方法,后面通过强制安装解决了这个问题,希望对大家有用