React-Native 卡在加载依赖图完成.没有错误 [英] React-Native stuck at Loading dependency graph done. No errors

查看:32
本文介绍了React-Native 卡在加载依赖图完成.没有错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序有问题,在运行 react-native run-android 后,进程停止并显示空白页应用程序,在加载依赖关系图完成时卡住...没有任何反应.一切正常,突然不再工作了.

I have a problem with my app, after running react-native run-android, the procees stop with blank page app at get stuck at loading dependency graph done... nothing happens. Everything was ok and suddenly not work anymore.

我尝试了我在互联网上找到的所有东西...仍然无法正常工作.有什么想法吗?

I tried everything i found on the internet... still not working. Any ideas?

package.json这就是我得到的..

推荐答案

以上答案都不适合我.将数据从旧 Mac 转移到新 Mac 后,我遇到了这个问题.原来是brew安装的python没有正确传输.所以,基本上我卸载并重新安装了watchman.

None of the above answers worked for me. I had this issue after transferring my data from my old mac to my new one. It turned out that the brew installed python was not properly transferred. So, basically I uninstalled and reinstalled watchman.

brew uninstall watchman python
brew install watchman

然后我重新启动了打包程序,我准备好了.

I then restarted the packager, and I was ready to go.

这篇关于React-Native 卡在加载依赖图完成.没有错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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