Expo reload 在 Linux 上不起作用(使用 Android 设备) [英] Expo reload not working on Linux (with Android device)
问题描述
我的 expo 应用程序有问题.很遗憾,它没有接受我的改变.实时重新加载,热重新加载不起作用,当我摇动设备并按重新加载"时,我的应用重新加载,但没有出现更改.
I'm having a problem with my expo app. It repently doesn't take my changes. Live reload, Hot reload doesn't work, and when I shake my device and press "reload", my app reload, but the changes doesn't appear.
我已经做了什么:
- 重新安装守望者
- 删除
node_modules
和package-lock.json
,运行$ npm install
- 在其他地方克隆并重建我的项目
- 更新 expo-cli 和 expo-android-app
[我正在使用elementary os (linux)、expo-cli 和android 设备]
[I'm using elementary os (linux), expo-cli and android device]
类似的事情发生在某人身上吗?你是怎么解决的?
Did something similar happen to someone? How did you resolve it?
我的项目依赖:
依赖":{"@expo/samples": "2.1.1","@expo/vector-icons": "^6.3.1",世博":^25.0.0",火力基地":^4.12.1",本地基础":^2.3.10",反应":16.2.0","react-native": "https://github.com/expo/react-native/archive/sdk-25.0.0.tar.gz",反应导航":^1.0.0-beta.27"
推荐答案
神奇地解决"删除 node_modules
文件夹并运行 $ npm install
(AGAIN) 并运行... (?)
"magically resolved" deleting node_modules
folder and running $ npm install
(AGAIN) and running... (?)
这篇关于Expo reload 在 Linux 上不起作用(使用 Android 设备)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!