Skip to content

Cannot read properties of undefined (reading 'needRetry') #434

@yuyang1004

Description

@yuyang1004

上次失败,再次上传报错。node16时正常,但node18时报错。
/data/app/jenkins/jenkins_home/workspace/data-platform_prod/node_modules/qiniu/qiniu/storage/resume.js:146
return retryable && context.result.needRetry();
^

TypeError: Cannot read properties of undefined (reading 'needRetry')
at Retrier.onBeforeRetry (/data/app/jenkins/jenkins_home/workspace/data-platform_prod/node_modules/qiniu/qiniu/storage/resume.js:146:56)
at /data/app/jenkins/jenkins_home/workspace/data-platform_prod/node_modules/qiniu/qiniu/retry/retrier.js:67:24
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v18.20.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    help-wantedDenotes an issue that needs help from a contributor.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions