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
Nuclide -> Settings -> Flow
and uncheck: Warn when Flow is not found
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:
[version]
^0.40.0
Install that very version of flow-bin
locally, i.e:
npm install --save-dev [email protected]
Then Nuclide -> Settings -> Flow
and check: Use the Flow binary included in each project's flow-bin
In case of issues, check flow issues.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With