Joh*_*nyQ 5 javascript reactjs react-native exponentjs expo
有没有人遇到过这个错误:
Tunnel packager.yu-tyd.my-app.exp.direct not found
我的应用程序只是简单的hello world
import Expo from 'expo'
import React from 'react'
import { Text } from 'react-native'
const App = () => (
<Text>Hello World</Text>
)
Expo.registerRootComponent(App)
Run Code Online (Sandbox Code Playgroud)
不确定导致错误的原因.这是我的依赖项:
"dependencies": {
"@expo/ex-navigation": "^2.9.2",
"expo": "^15.0.2",
"react": "~15.4.0",
"react-native": "https://github.com/exponent/react-native/archive/sdk-15.0.0.tar.gz",
"react-redux": "^5.0.3",
"redux": "^3.6.0"
}
Run Code Online (Sandbox Code Playgroud)
我能错过什么?
我也遇到过同样的错误;就我而言,我的互联网连接不可靠,无法到达正在运行的代码的本地 URL,因为它无法在那里建立隧道(Expo 中的隧道确保我们能够在 VPN 后面运行代码。
\n\n世博团队的推荐:
\n\n注意:如果您使用的是 MacOS,并且 XDE 陷入 \xe2\x80\x9cWaiting for packager andtunnel to start\xe2\x80\x9d 状态,您可能需要在计算机上安装 watchman。最简单的方法是使用 Homebrew、brew install watchman。
\n 归档时间: |
|
查看次数: |
2349 次 |
最近记录: |