Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to uninstall react-native-cli on mac?

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?

like image 762
Leonard Avatar asked Jul 29 '19 06:07

Leonard


People also ask

How do you uninstall react-native CLI globally in Mac?

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.


Video Answer


1 Answers

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
like image 69
hong developer Avatar answered Oct 16 '22 17:10

hong developer