In order to compatible with the latest version of nodeJS you might also want to update npm. Otherwise, you will be unable to download packages using npm. As a React Native developer chances are high that you come across with npm compatibility issues.
To fix npm upgrade issues, just follow the steps below:
First of all uninstall existing npm from your windows pc using the command npm uninstall -g npm . Now go to https://nodejs.org and download the lastest version of nodejs and install on your PC. This will install the latest version of npm too.
I hope this will fix npm compatibility errors on your windows PC.