Skip to content

Cannot process repository: TypeError: Cannot read property 'forEach' of undefined #6

@ajgassner

Description

@ajgassner

When trying to create JSON for https://github.com/Grisu-NOE/mobile-app.git I get following error:

/git2json/src/gitprocessor-plugin-relations.js:13
                commit.parenthashes.forEach(function(parenthash) {
                                   ^

TypeError: Cannot read property 'forEach' of undefined
    at /git2json/src/gitprocessor-plugin-relations.js:13:22
    at Array.forEach (native)
    at module.exports (/git2json/src/gitprocessor-plugin-relations.js:11:23)
    at /git2json/src/gitprocessor.js:6:52
    at Array.forEach (native)
    at module.exports (/git2json/src/gitprocessor.js:6:22)
    at loggerCallback (/git2json/src/index.js:26:4)
    at /git2json/src/gitlogger.js:34:3
    at ChildProcess.exithandler (child_process.js:220:5)
    at emitTwo (events.js:87:13)

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