Closed kajm closed 6 years ago
Did you try react-native unlink react-native-vector-icons && yarn remove react-native-vector-icons
?
@MoOx No, I havent done that. I guess I can give it a try. But whats the difference on doing it manually or doing it with the react-native cli ?
It's supposed to remove all references so you don't have problem... Anyway I don't see how you can still have a problem with the package properly removed. See #626 for a workaround for the initial reason of the problem.
No, me neither 😄 but I will try the workaround and hopefully it will work. Thanks!
Removed it by running "react-native unlink react-native-vector-icons" and by adding rn-cli.configs.js file in the root directory.
Except I can't unlink: https://github.com/facebook/react-native/issues/13160#issuecomment-378677744
Is unlink and re-linking recommended on upgrading react-native-vector-icons
?
@fungilation I dont think re-linking is necessary. I have never unlinked and re-linked a library that I wanted to upgrade and it has worked perfectly.
Actually I'd say the contrary. Before running link on latest, no font files under asset/ are changed. After running link, 2 font files are updated as per changelog.
Unlink is perhaps unnecessary but link is to update to the latest font assets?
Did you try
react-native unlink react-native-vector-icons && yarn remove react-native-vector-icons
?
very good!
However, it only works yarn remove react-native-vector-icons. The links I had to take manually.
npm remove react-native-vector-icons , Works for me
also npm unlink react-native-vector-icons
Im trying to remove this package by redo all manual steps that was needed to install it, but i still get this error saying .... the haste package was found ... same issue everybody have with react Native 0.52.0. And this package. So, how can i remove it?
React-native: 0.52.0