无法连接到开发服务器

时间:2016-03-15 09:43:36

标签: react-native

版本细节:

 react-native : 0.21.0   
 npm: '3.3.6',   
 node: '5.0.0'
 watchman : 4.4.0

当我试图在iOS模拟器中运行我的应用程序时,转换正在挂起..

[2:53:33 PM] <START> transform transforming [========================================] 100% 508/509

我在模拟器中看到红色错误屏幕,消息为Could not connect to development server..

修改:

    [5:15:30 PM] transforming [=======] 100% 507/509transforming:  /projects/mobile-examples/index.ios.js
    transforming [========================================] 100% 508/509
    transforming [========================================] 100% 509/509
    [5:35:42 PM] <END>   transform (1402427ms)
    it took 20 min to transform 

看起来像变换问题,任何想法为什么花了这么多时间?

EDIT2:

将我的节点和npm降级到4.0.0和2.x,变压器现在更快了:)

0 个答案:

没有答案