Skip to content

TypeError: Cannot read property 'error' of undefined #495

@dkent600

Description

@dkent600

re:

(accInfo.observer as Observer<BN>).error(err)

I am seeing this error when there is thrown an error "Connection not open" and
accInfo.observer is undefined.

addr is set to a DAO.

This is on rinkeby.

STEPS to force this error to happen:

  1. clear any existing INFURA_ID environment variable in your shell
  2. in the shell, run npm run start-staging
  3. I'm really not sure: You may need to have an account already cached (so the "Connect" button will be showing)
  4. using a fresh instance of your browser
  5. run that build of Alchemy in your browser
  6. navigate to Genesis Alpha (or probably any DAO)

RESULT:
You will see that the DAO token and ETH amounts say "N/A" and the quoted error message on the console.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions