I had the same issue and tried the following but didnt work
- Adding npm path to my Environment variables; both system and user
- Re install npm and react-native-cli
Both didn’t work for me, im using Windows 10;
Solution that worked for me is to install react-native-cli globally
You can install it globally by using the below command:
npm install -g react-native-cli