在开发环境中离线运行Expo [英] Running Expo in development offline

查看:41
本文介绍了在开发环境中离线运行Expo的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我查看了文档,但是找不到完全脱机运行Expo的方法.我经常在没有稳定连接的地方,这使得维持适当的工作流程异常困难.

I looked over the docs, but cannot find a way to run Expo completely offline. I'm frequently in an area without a stable connection and this makes it exceptionally difficult to maintain a proper work flow.

我本以为 exp start --dev --lan 可以进行脱机开发,但是我的expo客户端仍然无法连接到expo服务器而失败.

I would have thought that exp start --dev --lan would enable offline development, but my expo client still fails on inability to connect to the expo servers.

世博会有真正的离线模式吗?

Is there a truly offline mode for expo?

推荐答案

使用最新版本的Expo(v32),可以使用以下命令脱机运行

With the latest version of Expo (v32) you can run offline by using the following command

expo start --offline

这篇关于在开发环境中离线运行Expo的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆