react-native-svg-example icon indicating copy to clipboard operation
react-native-svg-example copied to clipboard

Not able to see icons

Open pantpradeep opened this issue 3 years ago • 3 comments

Error - ERROR Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

Check the render method of SvgComponent.

This error is located at: in SvgComponent (at App.js:13) in App (at renderApplication.js:47) in RCTView (at View.js:34) in View (at AppContainer.js:107) in RCTView (at View.js:34) in View (at AppContainer.js:134) in AppContainer (at renderApplication.js:40)

LOG Running "XXXXX" with {"rootTag":41} WARN Require cycle: src\assets\svg\avatari.svg -> src\assets\svg\index.js -> src\assets\svg\avatari.svg

issue

pantpradeep avatar Apr 13 '21 11:04 pantpradeep

Same issue

sasiacob avatar Dec 13 '21 12:12 sasiacob

Try closing your terminal sessions, restart the project so as to restart the metro.

karanzijm avatar Jul 17 '22 14:07 karanzijm

I have the same problem unfortunately.

FloKit avatar Jul 22 '22 14:07 FloKit