节点服务器停止响应本机

时间:2018-11-14 07:19:58

标签: react-native

我遇到错误:

Ensure the following: - Node server is running and available on the same network - run 'npm start' from react-native root - Node server URL is correctly set in AppDelegate

服务器在发生99.83%的捆绑包破坏后停止。

1 个答案:

答案 0 :(得分:0)

我通过增加max_old_space_size的缓存大小解决了该问题。在.bash_profile中

代码:

export NODE_OPTIONS=--max_old_space_size=4096
相关问题