首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在mac上卸载react-native-cli?

如何在mac上卸载react-native-cli?
EN

Stack Overflow用户
提问于 2019-07-29 14:52:29
回答 1查看 35K关注 0票数 14

如何在Mac上卸载react-native-cli??

我尝试过npm uninstall react-native-cli,它给出了下面的结果。

代码语言:javascript
复制
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.

我想完全清除我的react原生环境并重新安装它。我该怎么办?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2019-07-29 15:06:31

卸载全局包

要卸载未限定作用域的全局软件包,请在命令行上使用带有-g标志的uninstall命令。如果包被限定了作用域,则包括作用域。

代码语言:javascript
复制
npm uninstall -g react-native-cli
票数 37
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/57248515

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档