Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select component not found #1056

Closed
DanteVR opened this issue Apr 25, 2020 · 5 comments · Fixed by #1055
Closed

Select component not found #1056

DanteVR opened this issue Apr 25, 2020 · 5 comments · Fixed by #1055

Comments

@DanteVR
Copy link

DanteVR commented Apr 25, 2020

🐛 Bug Report

I'm following the exact same example of the Select component found in your documentation, but it shows the following error while rendering.

Use version 12.1.0 -> react-native-svg

To Reproduce

Use the select component in the view

UI Kitten and Eva version

Package Version
@eva-design/eva 2.0.0-alpha.1
@ui-kitten/components 5.0.0-alpha.1

image

@DiegoSeC
Copy link

I had the same error, so I changed my SVG version to "react-native-svg": "9.13.3" and everything was working as expected. For more info: #1005 (comment)

@artyorsh artyorsh mentioned this issue Apr 26, 2020
2 tasks
@artyorsh
Copy link
Collaborator

@DanteVR use the workaround suggested with link shared by @DiegoSeC. The latest react-native-svg versions will be supported in the next release. (commit)

@artyorsh artyorsh linked a pull request Apr 26, 2020 that will close this issue
2 tasks
@DanteVR
Copy link
Author

DanteVR commented Apr 26, 2020

Tuve el mismo error, así que cambié mi versión SVG a "react-native-svg": "9.13.3"y todo funcionaba como se esperaba. Para más información: # 1005 (comentario)

I made the change to [email protected] however now I am getting the following error, I have already run npm cache clean --force however the error persists

image

@wesleylq
Copy link

wesleylq commented Apr 28, 2020

Tuve el mismo error, así que cambié mi versión SVG a "react-native-svg": "9.13.3"y todo funcionaba como se esperaba. Para más información: # 1005 (comentario)

I made the change to [email protected] however now I am getting the following error, I have already run npm cache clean --force however the error persists

The same thing happened to me :/

@josef256
Copy link

josef256 commented May 14, 2020

Tuve el mismo error, así que cambié mi versión SVG a "react-native-svg": "9.13.3"y todo funcionaba como se esperaba. Para más información: # 1005 (comentario)

I made the change to [email protected] however now I am getting the following error, I have already run npm cache clean --force however the error persists

image

go to your metro.config.js file & add 'ts' to sourceExts

something like this
sourceExts: [...defaultConfig.resolver.sourceExts, 'svg', 'ts'],

also im using version 9.13.6 of react-native svg but it should also work with v9.13.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants