How can I uninstall react-native-cli on Mac??
I tried npm uninstall react-native-cli
and it gives me below.
npm WARN eslint-plugin-react@7.12.4 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 eslint-plugin-react-native@3.6.0 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?
2条答案
按热度按时间rta7y2nd1#
正在卸载全局软件包
要卸载未指定作用域的全局程序包,请在命令行上使用带有
-g
标志的uninstall
命令。如果程序包已指定作用域,请包括作用域。h9vpoimq2#
If you need to completely remove react native environment you need to remove CLI
next, remove watchman
remove Android env:
How to completely uninstall Android Studio on Mac?
remove IOS env:
How to Completely Uninstall Xcode and Clear All Settings