How can I uninstall react-native-cli on Mac??
I tried npm uninstall react-native-cli
and it gives me below.
npm WARN [email protected] requires a peer of eslint@^3.0.0 || ^4.0.0 || ^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of eslint@^3.17.0 || ^4 || ^5 but none is installed. You must install peer dependencies yourself.
I want to completely wipe-off my react native environment and re-install it. What should I do?
To remove react native cli globally, just use the npm uninstall -g react-native-cli command in your cmd or terminal it will uninstall react native cli from your computer. As per react native documents, they are telling you shuld remove react native cli and just use your cammand with npx it will work.
Uninstalling global packages
To uninstall an unscoped global package, on the command line, use the uninstall
command with the -g
flag. Include the scope if the package is scoped.
npm uninstall -g react-native-cli
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With