试图启动Atom / Nuclide时没有发现stream动

我正在为使用Atom IDE的react-native应用程序工作。 打开Atom时出现错误

在这里输入图像描述

我用npm命令安装了babel-clibabel-preset-flow

npm install –save-dev babel-cli babel-preset-flow

现在,当我重新启动Atom然后它显示相同的警告给我“试图启动时没有findstream”。 任何人都可以帮助我如何解决它。

我已经按照这个https://medium.com/react-native-training/getting-started-with-react-native-and-flow-d40f55746809stream量服务器运行良好,但我如何增加stream量到primefaces,所以我可以摆脱从这个https://i.stack.imgur.com/7jJVI.png

如果错误本身就是你的问题,你不想使用Flow或者甚至不知道它是什么:

Nuclide -> Settings -> Flow并取消选中: Warn when Flow is not found

但是,如果您想使用Flow:

确保你已经安装了stream量。 由于flow必须与.flowconfig指定的版本匹配,因此在本地而不是全局安装它是一个好主意。

例如,如果你的.flowconfig说:

 [version] ^0.40.0 

在本地安装非常flow-bin版本,即:

 npm install --save-dev flow-bin@0.40.0 

然后Nuclide -> Settings -> Flow和检查: Use the Flow binary included in each project's flow-bin

如有问题,请检查stream程问题 。