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

[Bug] @ant-design/web3-ethers not find ethers-v5 #815

Closed
yutingzhao1991 opened this issue Apr 22, 2024 · 2 comments · Fixed by #862
Closed

[Bug] @ant-design/web3-ethers not find ethers-v5 #815

yutingzhao1991 opened this issue Apr 22, 2024 · 2 comments · Fixed by #862

Comments

@yutingzhao1991
Copy link
Collaborator

What happens?

image

How To Reproduce

看了下,在 @ant-design/web3-ethers 包里面做了下面这样的配置:

image

但是代码里面还是 import 的 ethers-v5。

@yutingzhao1991
Copy link
Collaborator Author

@jeasonstudio 看了下,这个应该是你这边需要在项目里面同时用 v5 和 v6 导致的。开发者需要用的话,需要设定一个 alias ethers-v5 为 ethers。

这个是有意的吗?

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

Successfully merging a pull request may close this issue.

1 participant