-
-
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
Can not resolve module #1165
Comments
Hmm, well that file certainly exists in the repo and on npm, can you check that it exists in your node_modules? |
Hi I have the same error for a few hours This might be related to facebook/react-native#4968
this from today, do you know how I can fix it? |
@feliperoan Can you try v9.13.2? Or |
perfect, thank you |
@msand The package.json exists inside the react-native-svg module, however, as specified in the error, the |
@Clonescody seems you have some strange combination of old code and new code, index.js hasn't existed for quite some time. https://unpkg.com/browse/[email protected]/src/ |
@msand, I updated to 9.13.2, still getting the same error, even thought the
-rw-r--r-- ReactNativeSVG.ts I tried to remove/reinstall node_modules completely but still nothing :( EDIT : I tried to reproduce on a brand new expo project ejected with ExpoKit and everyhting works as intended ... |
Can you try this?
|
I tried the commands, when i'm starting the packager with When using |
Can you try making a clean project and try it there? |
I did already : And everything works fine :/ |
I had the same issue, with same steps and same outcome. Figured out that in my app.json i had |
I tried everything that was suggested but it still didn't work. I fixed the issue by going back to my pre-detached app state and redoing the whole installation. Thanks anyways for the help. |
Had the same issue, adding |
@walidvb, Can confirm. #1165 (comment) fixed my issue as well. |
I could not manage to resolve issue by @RobertMeGusta comments. Still having the same problem :( Do you have any other suggestions |
This thread on SO helped me out: Delete |
To reconfirm this can be resolved, when using
|
#1165 (comment) fixed my issue as well. |
I'm still facing this issue with react-native-svg latest version. ERROR: error: bundling failed: Error: Unable to resolve module OS: macOS 10.15.4 |
I think problem is with react-native-svg >= 12.0.0. Yarn add [email protected] solved all issues |
you're an angel |
@asleepace this worked . . removing the Podfile.lock is necessary to get the updates from lastest css-tree modules you installed. In my case the error was "Unable to resolve module |
|
|
what about yarn that didn't work ? i'm trying with that |
yarn add react-native-svg @ummartoor |
I am facing that issue I already imported the css according to error but still facing same error " Error: [react-native-svg] You are trying to import a component |
|
Hey guys, I recently ejected my app and updated to ExpoKit 35, and since then, I can't launch the app on iOS anymore because there's a problem with the react-native-svg module.
Commands :
expo install react-native-svg
cd ios && pod install
cd .. && expo start -c
Build and run
on XcodeError below :
Any of you guys had this issue before ? Any help appreciated :)
I am currently using the following versions :
Expo : 35.0.0
ExpoKit : 35.0.1
React-native : https://github.com/expo/react-native/archive/sdk-35.0.0.tar.gz ( SDK 35 )
React-native-svg : 9.12.0 ( When installing, yarn says that version ~9.9.2 is required, but it gaves me the same error anyways )
CocoaPods : 1.8.3
Xcode : 11.1
The text was updated successfully, but these errors were encountered: