Skip to content

TreeSearch fails with .foreach not found #41

@egonw

Description

@egonw

Maybe too old NodeJS version?

TypeError: forMolecule[constants.EXACT_MATCH].forEach is not a function
    at /home/egonw/var/Projects/GitHub/ops.js/src/TreeSearch.js:414:48
    at Array.forEach (native)
    at TreeSearch.parseTargetClassPharmacologyPaginated (/home/egonw/var/Projects/GitHub/ops.js/src/TreeSearch.js:358:20)
    at Request.callback (/home/egonw/var/Projects/GitHub/ops.js/test/spec/integration/TreeIntegrationSpec.js:468:32)
    at Request._callback (/home/egonw/var/Projects/GitHub/ops.js/src/TreeSearch.js:187:22)
    at Request.self.callback (/home/egonw/var/Projects/GitHub/ops.js/node_modules/request/request.js:187:22)
    at emitTwo (events.js:87:13)
    at Request.emit (events.js:172:7)
    at Request.<anonymous> (/home/egonw/var/Projects/GitHub/ops.js/node_modules/request/request.js:1048:10)
    at emitOne (events.js:77: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