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

taro playground扫描后显示 "errMsg":"requset:fil timeout" #12688

Open
spicylemonhaha opened this issue Oct 19, 2022 · 9 comments
Open

taro playground扫描后显示 "errMsg":"requset:fil timeout" #12688

spicylemonhaha opened this issue Oct 19, 2022 · 9 comments
Labels
F-react Framework - React T-rn Target - 编译到 React Native V-3 Version - 3.x

Comments

@spicylemonhaha
Copy link

相关平台

React Native

复现仓库

https://github.com/wuba/Taro-Mortgage-Calculator

使用框架: React

复现步骤

将calculator clone下来之后yarn安装依赖,运行yarn dev:rn之后打印对应二维码。
通过https://github.com/wuba/taro-playground/releases下载1.7版本,扫描二维码之后报错 "errMsg":"requset:fil timeout"

期望结果

运行示例app在我的手机上

实际结果

"errMsg":"requset:fil timeout"

环境信息

  Taro CLI 3.5.2 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 16.0.0 - C:\Program Files\nodejs\node.EXE
      Yarn: 1.22.19 - C:\Program Files\nodejs\yarn.CMD
      npm: 7.10.0 - C:\Program Files\nodejs\npm.CMD
@taro-bot2 taro-bot2 bot added F-react Framework - React T-rn Target - 编译到 React Native V-3 Version - 3.x labels Oct 19, 2022
@zhiqingchen
Copy link
Member

一般为 手机与电脑不在一个网路
先查看常见问题:
https://docs.taro.zone/docs/react-native

@spicylemonhaha
Copy link
Author

image
1666239621331
都在一个网上还是不行😭

@zhiqingchen
Copy link
Member

尝试电脑访问

http://127.0.0.1:8081/index.bundle?platform=ios&dev=true

再尝试手机浏览器访问

@spicylemonhaha
Copy link
Author

spicylemonhaha commented Oct 20, 2022

手机返回这个
1666244097160
电脑返回这个🙏
image

@zhiqingchen
Copy link
Member

zhiqingchen commented Oct 20, 2022

上面的 127.0.0.1 需要换成电脑ip
手机无法连接电脑网路

@spicylemonhaha
Copy link
Author

手机浏览器也ok了
image

@spicylemonhaha
Copy link
Author

app还是不行😰

@zhiqingchen
Copy link
Member

是不是没授权网络

@opendb2
Copy link

opendb2 commented May 18, 2023

是不是没授权网络

点赞👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-rn Target - 编译到 React Native V-3 Version - 3.x
Projects
None yet
Development

No branches or pull requests

3 participants