简体   繁体   English

Metamask 移动应用程序在 iOS 模拟器错误:s PollingBlockTracker

[英]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 watchyarn 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.

相关问题 Minting dapp 没有连接到手机上的 metamask 应用程序? - Minting dapp does not Connecting to metamask app on mobile? 错误:PollingBlockTracker - 尝试更新最新区块时遇到错误:未定义 - Error: PollingBlockTracker - encountered an error while attempting to update latest block: undefined 应用程序可在 Android 和 IOS 模拟器中运行,但在发布后不可运行 - App works in Android and IOS Simulator but not after release "如何通过单击 webapp 上的按钮(如 opensea)来检测、启动和连接到 metamask 移动应用程序?" - How to detect,launch and connect to metamask mobile app by clicking on a button on the webapp like on opensea? iOS Simulator JS错误仅警告lineno为0 - iOS Simulator JS Error only alerts lineno of 0 将Firefox OS应用程序添加到模拟器时出现模拟器错误 - Simulator error while adding Firefox OS app to simulator 无法在 metamask 移动浏览器中加载 dapp - Cant load dapp in metamask mobile browser Metamask 确认按钮是蓝色的,但不响应移动应用程序中的点击(点击),但相同的 JS 代码在桌面上工作 - 自定义 BSC 令牌 - Metamask confirm button is blue, but doesn't respond to clicks(taps) in the mobile app, but the same JS code works on the desktop - custom BSC Token 在Xcode的IOS模拟器上使用Safari Web Inspector来查看Cookie - Using Safari Web Inspector on Xcode's IOS simulator to view cookies Meteor.call和Meteor.methods无法在移动设备(iOS)上运行,但可以完美地在Web和iOS模拟器上运行 - Meteor.call and Meteor.methods not working on mobile (iOS) but perfectly works on web and iOS simulator
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM