Wrong version of Watchman. Version found: 2021.09.06.00 Version supported: 4.x
Asked Answered
G

2

10

After expo eject I run npx @react-native-community/cli doctor It shows ✖ Watchman - Used for watching changes in the filesystem when in development mode

  • Version found: 2021.09.06.00
  • Version supported: 4.x I guess react native doesn't understand it because numeration after version 4.9 was changed. How I can fix it?
Grainfield answered 17/9, 2021 at 15:47 Comment(0)
A
2

This was an issue with doctor - as you say, the date format (CalVer) versions are all newer than 4.9, which was released in 2017.

The misleading error was fixed in https://github.com/react-native-community/cli/pull/1700 (which should be included in new installations of RN ^0.70.1) - it can be safely ignored.

Audition answered 22/9, 2022 at 14:21 Comment(0)
V
1

I'm had the same issue after running 'react-native doctor'.

 ✖ Watchman - Used for watching changes in the filesystem when in development mode
   - Version found: 2021.10.04.00
   - Version supported: 4.x

I entered 'e' to fix the error and it worked!

› Press e to try to fix errors.

Villainage answered 8/10, 2021 at 15:45 Comment(3)
But then it will go back on the next check, how to fix it once and for all?Clementina
Yeah... In the same situation here. Got happy when the error was gone, only to have it appear on the next session again..Saratov
'e' in this case just opens the Watchman installation guide in your browser, it doesn't actually do anything. The warning can be ignored in any case.Audition

© 2022 - 2024 — McMap. All rights reserved.