9

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?
Dimitry
  • 91
  • 1
  • 2

2 Answers2

1

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.

Rob Hogan
  • 2,442
  • 19
  • 23
0

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.

Brian
  • 57
  • 3
  • 5
    But then it will go back on the next check, how to fix it once and for all? – Sang Dang Jan 08 '22 at 11:25
  • Yeah... In the same situation here. Got happy when the error was gone, only to have it appear on the next session again.. – Eitel Dagnin Feb 16 '22 at 20:03
  • '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. – Rob Hogan Sep 22 '22 at 14:29