Reputation: 1
I created a new application using react native for windows. I followed the instructions on the microsoft website, but when I call the command npx react-native run-windows an error occurs enter image description here
Tried all the options on stackoverflow. Changed versions of react-native-windows.
Upvotes: -1
Views: 169
Reputation: 1
The problem was with the fmt 8.00 library. Microsoft just made a commit to the project yesterday and replaced it with fmt 10.1.0. But it's not in npm yet. Therefore, before the npx react-native run-windows command, you need to change the following lines in the Directory.Build.props file:
<FmtVersion>10.1.0</FmtVersion>
<FmtCommitHash>ca2e3685b160617d3d95fcd9e789c4e06ca88</FmtCommitHash>
Upvotes: 0