I am trying to flow this tutorial
You can avoid errors like this by using yarn instead of npm
yarn install
Then you'll just get a warning instead of a failed build, ie
warning " > [email protected]" has incorrect peer dependency "react@^16.3.0 || ^17.0.0".