【问题标题】:react-native start command taking forever in Windowsreact-native start 命令在 Windows 中永远占用
【发布时间】:2015-12-15 12:38:32
【问题描述】:

我正在尝试在 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)

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

【问题讨论】:

    标签: android windows react-native


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 2018-06-20
      • 1970-01-01
      • 2017-08-02
      • 1970-01-01
      • 2022-01-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多