-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Module parse failed, possible invalid import from react-native? #1537
Comments
Hey, did you find any solution for this issue? |
not yet |
pratyushok
added a commit
to pratyushok/react-native-svg
that referenced
this issue
May 26, 2021
2 tasks
You could install it like the following expo install https://github.com/pratyushok/react-native-svg/releases/download/v12.1.1/react-native-svg-12.1.1.tgz or npm install https://github.com/pratyushok/react-native-svg/releases/download/v12.1.1/react-native-svg-12.1.1.tgz and then don't forget to link it. |
any updates? any idea? |
@belaziv I've managed to fix mine doing this #1553 (comment) |
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using storybook to develop ui components for react native. Webpack is giving me an error due to react-native-svg
Initially I assumed
react-native/Libraries/Image/resolveAssetSource.js
was the culprate, but after seeing this I believe the problem is here.Is there a way for me to fix this or is this actually an invalid import?
react-native-svg/src/LocalSvg.tsx
The text was updated successfully, but these errors were encountered: