【发布时间】:2021-10-25 19:11:44
【问题描述】:
运行命令 npm run test 时出错
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! lottery@1.0.0 test: `mocha`
npm ERR! Exit status 1
npm ERR! Failed at the lottery@1.0.0 test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
我删除了其他测试文件,因为我从以前成功运行的文件夹中复制了这个文件夹。
【问题讨论】: