and my node version is v16.1.0. And and tried re-installing the node but it is still showing the errors. i cleared the cache as well
It looks like your project is configured to use React 17, but redux-form depends on React 16.
If you want to play it safe, downgrade to React 16. See here for more info.