Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

react-native #387

Closed
saumar16 opened this issue May 18, 2020 · 4 comments
Closed

react-native #387

saumar16 opened this issue May 18, 2020 · 4 comments

Comments

@saumar16
Copy link

no work
react-native-cli: 2.0.1
react-native: 0.62.2
flow version 0.125.1

@orta
Copy link
Contributor

orta commented May 19, 2020

Please provide a more useful error report - what isn't working? what have you tried?

@8zero7
Copy link

8zero7 commented Aug 20, 2020

I'm assuming @saumar16 is having the same issue that I am. The boilerplate code when creating a new react-native app using npx react-native ... uses a flowversion of ^0.122.0 by default. this version is required for react native. The VSCode extension has version 0.107.0 so you receive an error message: Failed to start flow Error: Wrong version of Flow. The config specifies version ^0.122.0 but this is version 0.107.0

Is an update to the latest version of flow anticipated for this extension?

@beng970804
Copy link

No update on this issue?

@noppa
Copy link

noppa commented Apr 7, 2021

Hard to update the issue to anything but perhaps to "closed as can't reproduce" when the issue description is so lacking. If @8zero7 's guess is correct, then yes, there's PR #413 to update the Flow version of this extension. Meanwhile, any Flow-using project should probably include Flow as a dependency, anyway. If npx react-native doesn't do this automatically, you can just npm i -D flow-bin to add Flow as a devDependency and then this extension should use your installed version automatically, right?

@SamChou19815 SamChou19815 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants