Skip to content

TypeError: undefined is not iterable #56

@sleepym09

Description

@sleepym09

你好,Picgo升级到2.3.1之后碰到上传时失败问题,详细堆栈

TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
    at macosRelease (/Users/zhenhui.xu/Library/Application Support/picgo/node_modules/macos-release/index.js:27:26)
    at osName (/Users/zhenhui.xu/Library/Application Support/picgo/node_modules/os-name/index.js:21:18)
    at getUserAgent (/Users/zhenhui.xu/Library/Application Support/picgo/node_modules/universal-user-agent/dist-node/index.js:11:53)
    at parseOptions (/Users/zhenhui.xu/Library/Application Support/picgo/node_modules/@octokit/rest/lib/parse-client-options.js:80:57)
    at new Octokit (/Users/zhenhui.xu/Library/Application Support/picgo/node_modules/@octokit/rest/lib/constructor.js:23:31)
    at new DeprecatedOctokit (/Users/zhenhui.xu/Library/Application Support/picgo/node_modules/@octokit/rest/index.js:29:10)
    at new Octo (/Users/zhenhui.xu/Library/Application Support/picgo/node_modules/picgo-plugin-github-plus/dist/lib/octokit.js:30:24)
    at Object.getIns (/Users/zhenhui.xu/Library/Application Support/picgo/node_modules/picgo-plugin-github-plus/dist/lib/octokit.js:159:11)
    at initOcto (/Users/zhenhui.xu/Library/Application Support/picgo/node_modules/picgo-plugin-github-plus/dist/index.js:11:27)
    at Object.handle (/Users/zhenhui.xu/Library/Application Support/picgo/node_modules/picgo-plugin-github-plus/dist/index.js:111:21)

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