Android 反应本机:反应包装准备就绪。错误监视程序加载时间过长

Android 反应本机:反应包装准备就绪。错误监视程序加载时间过长,android,react-native,watchman,Android,React Native,Watchman,我试图在react native上运行android项目,但当我试图使用以下命令运行它时:react native start,它将给我留下以下错误: Looking for JS files in C:\Users\mohammad\Desktop\AwsoneProject [2:55:39 AM] <START> Building Dependency Graph [2:55:40 AM] <START> Crawling File System [2:55

我试图在react native上运行android项目,但当我试图使用以下命令运行它时:
react native start
,它将给我留下以下错误:

Looking for JS files in
   C:\Users\mohammad\Desktop\AwsoneProject

[2:55:39 AM] <START> Building Dependency Graph
[2:55:40 AM] <START> Crawling File System
[2:55:40 AM] <START> Loading bundles layout
[2:55:40 AM] <END>   Loading bundles layout (1ms)

React packager ready.

 ERROR  Watcher took too long to load
Try running `watchman version` from your terminal
https://facebook.github.io/watchman/docs/troubleshooting.html
Error: Watcher took too long to load
Try running `watchman version` from your terminal
https://facebook.github.io/watchman/docs/troubleshooting.html
    at [object Object]._onTimeout (index.js:103:16)
    at Timer.listOnTimeout (timers.js:92:15)

See http://facebook.github.io/react-native/docs/troubleshooting.html
for common problems and solutions.
在中查找JS文件
C:\Users\mohammad\Desktop\AwsoneProject
[2:55:39 AM]构建依赖关系图
[2:55:40 AM]正在爬网文件系统
[2:55:40 AM]装载捆布局
[2:55:40 AM]装载捆布局(1ms)
准备好分装机。
错误监视程序加载时间过长
尝试从您的终端运行“watchman版本”
https://facebook.github.io/watchman/docs/troubleshooting.html
错误:加载监视程序花费的时间太长
尝试从您的终端运行“watchman版本”
https://facebook.github.io/watchman/docs/troubleshooting.html
在[object]处。\u onTimeout(index.js:103:16)
在Timer.listOnTimeout(timers.js:92:15)
看见http://facebook.github.io/react-native/docs/troubleshooting.html
了解常见问题和解决方案。
我已经上网了,但过了几个小时我还是没法修好。 我必须提到,在这种情况下,我使用的是windows。
非常感谢您的帮助。

您需要增加FileWatcher中的超时时间-

您需要增加FileWatcher中的超时时间-

这实际上是Windows特有的问题。对我来说,它在Linux上运行得很好。增加FileWatcher中的最大等待时间。它实际上是超时了

查看

你必须增加这个:

const MAX_WAIT_TIME = 120000;

这实际上是Windows特有的问题。对我来说,它在Linux上运行得很好。增加FileWatcher中的最大等待时间。它实际上是超时了

查看

你必须增加这个:

const MAX_WAIT_TIME = 120000;

我们还要等多久?没问题。只需使用
MAX\u WAIT\u TIME
属性即可。应该没问题。我们要等多久?没问题。只需使用
MAX\u WAIT\u TIME
属性即可。应该没问题。