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

前端项目运行报错解决方案 #530

Open
724338817 opened this issue Apr 25, 2024 · 2 comments
Open

前端项目运行报错解决方案 #530

724338817 opened this issue Apr 25, 2024 · 2 comments

Comments

@724338817
Copy link
Contributor

npm run dev

企业微信截图_17140399998480

1.进入node_modules/web3-utils/lib/utils.js

将var ethereumjsUtil = require('@ethereumjs/util') 替换成 var ethereumjsUtil = require('ethereumjs-util');

企业微信截图_17140403065522

2.npm install --save ethereumjs-util

此时需要安装所需替换的依赖库ethereumjs-util
企业微信截图_17140403065522

3.npm run dev

最后运行项目

企业微信截图_17140403065522
@bencq
Copy link

bencq commented Apr 29, 2024

老哥nb!

@zengraoli
Copy link

非常棒,在v1.5.4这些都没问题,老哥用心了!

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

3 participants