-
Notifications
You must be signed in to change notification settings - Fork 220
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
Unable to resolve "react-native-svg/css" Unable to resolve "react-native-svg/css" from "node_modules/react-native-qrcode-svg/src/LogoSVG/index.native.js" #225
Comments
@kkpo4553 How do i update this in the package itself though ? Why is this fix not a part of the package ? |
hello @cay-cospete we would need to get more info about your setup to help you. What version of |
@cay-cospete have you resolve it? |
hey @alexsvt2 although it is definitely similar, it is not the same as yours which looks as if in your project the library is not installed. I can take a look if you answer my questions in this post: #225 (comment) |
Yeah my mistake, I used npm i -S and worked, thank you |
I am facing the same issue although I already ran with npm i -S The version the tool installed: This is the version of react-native I am using: error: Error: Unable to resolve module react-native-svg/css from C:\Users\eliza\StudioProjects\Torus\node_modules\react-native-qrcode-svg\src\LogoSVG\index.native.js: react-native-svg/css could not be found within the project or in these directories:
|
hey man I submitted a patch fix, but if you find node_modules/react-native-qrcode-svg/src/LogoSVG/index.native.js and change line 2 from worked for me hope helps |
But that means I need to manually hack node_modules file every single time developers rebuild since we are all actively making changes to the code and will need to run 'npm install'. Can you share which new version will contain this fix and ETA? |
I am getting this error on
"react-native-qrcode-svg": "^6.3.12",
Unable to resolve "react-native-svg/css" from "node_modules/react-native-qrcode-svg/src/LogoSVG/index.native.js"
What is the issue here ?
The text was updated successfully, but these errors were encountered: