Skip to content

Javascript Error: Cannot access 'ne' before initialization #83

Description

@Tilana

When trying to access the results of a dimcli query I experience the following error: Javascript Error: Cannot access 'ne' before initialization

It seems that the API connection works and that data is retrieved, however, accessing the data causes the error.
The error can be reproduced with the following code:

dsl = dimcli.Dsl()
dsl.query("""search grants for "malaria" return researchers limit 10""")

which returns this result:

Returned Researchers: 10
Time: 2.28s
Javascript Error: Cannot access 'ne' before initialization

The same query on the dimcli command line works without problems.

Are any dependency updates causing the issue?

Thanks for taking a look! Dimcli is a great tool to work with.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions