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

Skip to content

报错但是签到成功 #52

@olahzido

Description

@olahzido

OS: Almalinux 8.5
Version: Node.js v16.13.1 [email protected] [email protected]
签到报错但是今日校园看是签到成功的,令人迷惑
以下是log

[root@server config]# cea sign
✔  成功        登录成功 @user
✔  成功        已成功获取并缓存 COOKIE @user
file:///usr/local/share/.config/yarn/global/node_modules/@ceajs/check-in-helper/lib/src/index.js:189
                const signedSelectedItemValue = curSignedExtraField.extraFieldItems.find((e) => e.isSelected === true).value;
                                                                                                                      ^

TypeError: Cannot read properties of undefined (reading 'value')
    at file:///usr/local/share/.config/yarn/global/node_modules/@ceajs/check-in-helper/lib/src/index.js:189:119
    at Array.map (<anonymous>)
    at Function.fillExtra (file:///usr/local/share/.config/yarn/global/node_modules/@ceajs/check-in-helper/lib/src/index.js:186:26)
    at CheckIn.signWithForm (file:///usr/local/share/.config/yarn/global/node_modules/@ceajs/check-in-helper/lib/src/index.js:69:23)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async file:///usr/local/share/.config/yarn/global/node_modules/@ceajs/check-in-helper/lib/src/index.js:234:36
    at async Promise.all (index 10)
    at async Function.signIn (file:///usr/local/share/.config/yarn/global/node_modules/@ceajs/check-in-helper/lib/src/index.js:227:9)
    at async checkIn (file:///usr/local/share/.config/yarn/global/node_modules/@ceajs/sign-plugin/lib/src/index.js:7:22)
    at async file:///usr/local/share/.config/yarn/global/node_modules/cea/lib/src/cli.js:42:13

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions