Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Unhandled Rejection (ReferenceError): registries is not defined #55

Open
deepseafishing opened this issue Nov 20, 2020 · 4 comments
Open
Assignees

Comments

@deepseafishing
Copy link

I'm having this error

Unhandled Rejection (ReferenceError): registries is not defined

which deals with the code in line 1027 in the index.js file

@haltman-at
Copy link

Yup, I'm having this problem too. I think this is worth expanding on--

You'll get this error if you try to create a new ENS without specifying the registry address. In this case, it would seem that ENS is supposed to look up the default registry address based on the network ID you passed in. Instead, however, you hit an undefined variable error, because the registries table was never defined. It would appear that this case was never tested, I guess...?

Of course, it's still possible to use ENS due to the getENSAddress function, but this functionality of not having to use this, and just being able to directly specify a network ID to the constructor, which was clearly intended, ought to work. So, I'm hoping you can fix this fairly quickly. Thank you!

@timhc22
Copy link

timhc22 commented Mar 17, 2021

Also having this issue!

@Elyx0
Copy link

Elyx0 commented Mar 21, 2021

Same problem here.

@eggplantzzz
Copy link

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants