I am working on react-native
application for which I am using Atom
IDE. I am getting an error on opening Atom
I installed babel-cli
and babel-preset-flow
with npm command.
npm install --save-dev babel-cli babel-preset-flow
Now when I restart Atom
then it shows same warning to me "Flow was not found when attempting to start". Can anyone help me how to fix it.
I have followed this https://medium.com/react-native-training/getting-started-with-react-native-and-flow-d40f55746809 flow server is working well but how I add flow to atom so I can get rid from this https://i.stack.imgur.com/7jJVI.png
If the error itself is your concern, and you don't want to use Flow or don't even know what it does:
Nuclide -> Settings -> Flow
and uncheck:Warn when Flow is not found
If, however, you want to use Flow:
Make sure you've got flow installed. Since flow will have to be matched with the version specified in
.flowconfig
it's a good idea to install it locally rather than globally.For example, if your
.flowconfig
says:Install that very version of
flow-bin
locally, i.e:Then
Nuclide -> Settings -> Flow
and check:Use the Flow binary included in each project's flow-bin
In case of issues, check flow issues.