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

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

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

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

724338817 opened this issue Apr 25, 2024 · 0 comments

Comments

@724338817
Copy link

npm run dev
企业微信截图_17140399998480

1.进入node_modules/web3-utils/lib/utils.js
将var ethereumjsUtil = require('@ethereumjs/util') 替换成 var ethereumjsUtil = require('ethereumjs-util');
325568388-c9a1f7a9-c974-4f78-9480-7da4a7618402

2.npm install --save ethereumjs-util
此时需要安装所需替换的依赖库ethereumjs-util
325569244-91abb541-90e8-475c-b858-5f7efd0bafe0

3.npm run dev
最后运行项目
企业微信截图_17140403065522

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

1 participant