Skip to content

使用云效部署前端,node.js单元测试失败 #27

Description

@Zynismus16

以下是运行错误日志,看是缺了/root/workspace/seezoon-stack/package.json但是我不知道该怎么做

[10:34:51] npm info it worked if it ends with ok
[10:34:51] npm info using npm@6.14.7
[10:34:51] npm info using node@v14.8.0
[10:34:51] npm ERR! code ENOENT
[10:34:51] npm ERR! syscall open
[10:34:51] npm ERR! path /root/workspace/seezoon-stack/package.json
[10:34:51] npm ERR! errno -2
[10:34:51] npm ERR! enoent ENOENT: no such file or directory, open '/root/workspace/seezoon-stack/package.json'
[10:34:51] npm ERR! enoent This is related to npm not being able to find a file.
[10:34:51] npm ERR! enoent 
[10:34:51] npm timing npm Completed in 63ms
[10:34:51] 
[10:34:51] npm ERR! A complete log of this run can be found in:
[10:34:51] npm ERR!     /root/.npm/.npm_cache/_logs/2023-06-02T02_34_51_107Z-debug.log
[10:34:51] [INFO] 
[10:34:51] [INFO] 
[10:34:51] oss-cn-beijing-internal.aliyuncs.com
[10:34:51] oss-cn-beijing-internal.aliyuncs.com
[10:34:51] [INFO] prepare to upload report mochawesome-report
[10:34:51] [ERROR] occurred error: open mochawesome-report: no such file or directory
[10:34:51] [ERROR] BUILD ERROR
[10:34:51] [ERROR] 130490392
[10:34:51] [ERROR] 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions