简体   繁体   中英

How to uninstall npm package which is inside onother npm package

我安装了这个包含 react-native-webview 这个包的 react-native-instagram-login 包,所以我想卸载 react-native-webview 这个包,因为我已经在我的 react native 项目中安装了它,它给了我错误 -> 尝试注册两个具有相同名称 RNCWebView 的视图。

Simply you can try this command in your case

npm uninstall react-native-webview or npm uninstall --save react-native-webview or if its a devDependency then npm uninstall --save-dev react-native-webview

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM