[英]Metamask mobile app in iOS Simulator error:s PollingBlockTracker
This question is specific to setting up the open source metamask-mobile project.这个问题特定于设置开源metamask-mobile项目。
I am trying to set up the repository locally in order to debug an issue in my dapp.我正在尝试在本地设置存储库以调试我的 dapp 中的问题。 After running
yarn watch
and yarn start:ios
, the simulator launches.运行
yarn watch
和yarn start:ios
后,模拟器启动。 After I open the Metamask app and open the browser, I see a PollingBlockTracker
error.打开 Metamask 应用程序并打开浏览器后,我看到
PollingBlockTracker
错误。 I have added my infura api key to.js.env file with my infura API key:我已经使用我的 infura API 密钥将我的 infura api 密钥添加到 .js.env 文件:
export MM_INFURA_PROJECT_ID="<my-api-key>
Error:错误:
What am I doing wrong?我究竟做错了什么?
Though this will not solve the actual problem, terminating yarn watch
may at least keep the error from blocking your screen all the time.虽然这不能解决实际问题,但终止
yarn watch
至少可以防止错误一直阻塞你的屏幕。
If what you are trying to do does not depend on whatever that error is related to, you might still be able to accomplish what you wanted despite the error, then.如果您尝试做的事情不依赖于与该错误相关的任何内容,那么尽管有错误,您仍然可以完成您想要的事情。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.