单元测试成功,但是 npm 报错
来源:12-3 辅助模块单元测试 准备工作

sowtf
2019-06-25
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ts-axios@0.0.1 test: `jest --coverage`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ts-axios@0.0.1 test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/xxx/.npm/_logs/2019-06-24T18_14_03_804Z-debug.log
单元测试完全通过,没有问题,但是最后npm 会报这个错误
网上那些说解除80端口占用,删除 package-lock.json,删除 node_modules等等这些办法一个都不对
请问这个到底是什么原因产生的错误
写回答
1回答
-
ustbhuangyi
2019-06-25
你把代码发到 GitHub 上,我抽空看一下
062019-07-28
相似问题