react-native start命令永远在Windows中占用

时间:2015-12-15 12:38:32

标签: android windows react-native

我正在尝试使用Windows上的React Native为Android设置开发。我按照Linux and Windows Support页面上的说明增加了时间限制以避免ERROR Watcher took too long to load错误。错误消失但现在当我运行命令react-native start时,它似乎没有结束。这就是它的外观(几个小时)。

    C:\Users\Interbiz\react\ProjectZ>react-native start
 ┌────────────────────────────────────────────────────────────────────────────┐

 │  Running packager on port 8081.                                            │

 │                                                                            │

 │  Keep this packager running while developing on any JS projects. Feel      │

 │  free to close this tab and run your own packager instance if you          │

 │  prefer.                                                                   │

 │                                                                            │

 │  https://github.com/facebook/react-native                                  │

 │                                                                            │

 └────────────────────────────────────────────────────────────────────────────┘

Looking for JS files in
   C:\Users\Interbiz\react\ProjectZ

[2:03:38 PM] <START> Building Dependency Graph
[2:03:38 PM] <START> Crawling File System
[2:03:38 PM] <START> Loading bundles layout
[2:03:38 PM] <END>   Loading bundles layout (2ms)

React packager ready.

[2:04:33 PM] <END>   Crawling File System (55585ms)
[2:04:33 PM] <START> Building in-memory fs for JavaScript
[2:04:39 PM] <END>   Building in-memory fs for JavaScript (5766ms)
[2:04:39 PM] <START> Building in-memory fs for Assets
[2:04:44 PM] <END>   Building in-memory fs for Assets (5344ms)
[2:04:44 PM] <START> Building Haste Map
[2:04:46 PM] <START> Building (deprecated) Asset Map
[2:04:47 PM] <END>   Building (deprecated) Asset Map (851ms)
[2:04:49 PM] <END>   Building Haste Map (4577ms)
[2:04:49 PM] <END>   Building Dependency Graph (71286ms)

在这里帮助我。请慢慢说。

1 个答案:

答案 0 :(得分:3)

工作正常。保持运行,在一个单独的控制台中运行“react-native run-android”