duongdev / phosphor-react-native

phosphor-icons for react-native. A flexible icon family for React Native
https://www.npmjs.com/package/phosphor-react-native
MIT License
189 stars 25 forks source link

Run iOS Error #13

Closed brunomacedo closed 2 years ago

brunomacedo commented 2 years ago

Error on react-native-svg.

Could someone help me please? I'm having an error running the project.

First error was react-native-svg, but I've tried to install it and I got:

Invariant Violation: requireNativeComponent: "RNSVGRect" was not found in the UIManager.

image

duongdev commented 2 years ago

Hey @brunomacedo could you provide more context that I can reproduce the error?

RyanCommits commented 2 years ago

Solved by installing the library react-native-svg

headwinds commented 1 year ago

I got the same error -

iconoir-react-native asks you to install both - perhaps this library requires the same treatment

yarn add phosphor-react-native react-native-svg

But what I really first is a snack to show me that they work - I started one exploring-icons and got stuck on the dependency resolution!