Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export 'dnsEncode' (reexported as 'dnsEncode') was not found in '@ethersproject/hash' (possible exports: _TypedDataEncoder, hashMessage, id, isValidName, messagePrefix, namehash) #771

Open
noodesonmars opened this issue May 20, 2022 · 2 comments

Comments

@noodesonmars
Copy link

Using "@usedapp/core": "^1.0.2"

export 'dnsEncode' (reexported as 'dnsEncode') was not found in '@ethersproject/hash' (possible exports: _TypedDataEncoder, hashMessage, id, isValidName, messagePrefix, namehash)

Does not appear in console when running yarn build, but appears in Netlify during production build.

I added this from the troubleshooting page on the website but it changed nothing:

  "resolutions": {
    "@ethersproject/abi": "5.2.0",
    "@ethersproject/contracts": "^5.6.0"
  },
@noodesonmars
Copy link
Author

Downgraded to "@usedapp/core": "^0.11.0" and it built on Netlify and it worked

@rzadp
Copy link
Contributor

rzadp commented May 23, 2022

@noodesonmars Can you try adding "@ethersproject/hash": "^5.6.0" to resolutions as well and see if that helps?

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

No branches or pull requests

2 participants