【发布时间】:2017-04-27 11:31:17
【问题描述】:
我在 Windows 上使用 react-native 已经 2 周了。但是现在,在我的设备上运行我的应用程序需要太多时间。
Scanning 835 folders for symlinks in D:\workspace\react-
native\MonCompte\node_modules (31ms)
Starting JS server...
Building and installing the app on the device (cd android && gradlew.bat
installDebug)...
> Configuring > 3/5 projects > Resolving dependencies ':app:_debugApk' >
Resolving dependencies ':react-native-vector-icons:_releaseCompile'
此时它似乎“冻结”了。 25 多分钟后,它终于构建了!
请问有人有想法吗?谢谢 !
【问题讨论】:
-
你的电脑配置是什么?
-
i5-6500 3.20Ghz / 8Go RAM / Windows 10。但昨天运行不到 1 分钟
-
尝试清理守望者缓存。
watchman watch-del-all -
Windows 没有守望者。 (有一个 alpha 我试过这个但它不起作用)
-
有什么想法吗?我仍然没有找到解决方案。
标签: android windows react-native