Thanks to visit codestin.com
Credit goes to github.com

Skip to content

查寝功能报错 #40

@olahzido

Description

@olahzido

OS: Almalinux 8.5
Version: Node.js v16.8.0 [email protected]
貌似只有查寝不可用
签到功能是正常的
不过去年查寝也还能用的(
以下是log

[root@server cea]# cea attendance
✔  成功        登录成功 @test
✔  成功        已成功获取并缓存 COOKIE @test
file:///usr/local/lib/node_modules/cea/node_modules/@ceajs/check-in-helper/lib/src/index.js:184
        const isSignedTemplateMatch = signedExtraField.every((ele, idx) => { var _a; return ele.title === ((_a = extraField[idx]) === null || _a === void 0 ? void 0 : _a.title); });
                                                       ^

TypeError: Cannot read property 'every' of undefined
    at Function.fillExtra (file:///usr/local/lib/node_modules/cea/node_modules/@ceajs/check-in-helper/lib/src/index.js:184:56)
    at CheckIn.signWithForm (file:///usr/local/lib/node_modules/cea/node_modules/@ceajs/check-in-helper/lib/src/index.js:67:39)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async file:///usr/local/lib/node_modules/cea/node_modules/@ceajs/check-in-helper/lib/src/index.js:234:36
    at async Promise.all (index 0)
    at async Function.signIn (file:///usr/local/lib/node_modules/cea/node_modules/@ceajs/check-in-helper/lib/src/index.js:227:9)
    at async attendanceCheckIn (file:///usr/local/lib/node_modules/cea/node_modules/@ceajs/attendance-plugin/lib/src/index.js:7:22)
    at async file:///usr/local/lib/node_modules/cea/lib/src/cli.js:46:13

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions