当我用expo打开开发人员菜单时,它说:
Live Reload unavailable
和
Hot Reloading unavailable
我根据需要登录,我也尝试使用QR代码加载应用程序,但它没有帮助。
.expo / settings.json:
{
"hostType": "lan",
"lanType": "ip",
"dev": true,
"minify": false,
"urlRandomness": "8s-6z3"
}
有这个,https://github.com/expo/expo/issues/1210,但我没有使用Expo XDE
。
我也尝试过:
watchman watch-del-all
rm -rf $TMPDIR/react-*
rm -rf $TMPDIR/metro-*
rm -rf $TMPDIR/haste-*
npm start -- --reset-cache
和:
watchman watch-del-all
rm -rf $TMPDIR/react-*
rm -rf node_modules
rm -f yarn.lock
yarn upgrade
yarn
npm install
expo start -c