Hi. I am relatively new to React Native.
I am running into this error when installing regarding react-native-svg. I've created a new react-native project using react-native init TestProject and npm install. I then followed the instructions in the documentationnpm install victory-native --save
I cannot proceed to the next step: link react-native link react-native-svg as it gives me the error
'Error: Cannot find module '/Users/____/TestProject/node_modules/react-native-svg/package.json'.
Because of this error, I am also getting this screen:

Are there additional cmds I need to run? I was under the impression that npm install victory-native --save will also install react-native-svg. I also ran the clear watchman cmds and deleted the node_modules. Thanks
Hi there. react-native-svg is a peerDependency of victory-native you will need to include it in your project as well. you want "react-native-svg": "^5.2.0"
thank you for the prompt response.
I did add "react-native-svg": "^5.2.0", and I am able to link react-native link react-native-svg and I do get a successful message when I react-native link react-native-svg
rnpm-install info Linking react-native-svg android dependency
rnpm-install info Android module react-native-svg has been successfully linked
rnpm-install info Linking react-native-svg ios dependency
rnpm-install info iOS module react-native-svg has been successfully linked
This is the current message when I try to require "victory-native" in index.ios.js

@aszheng Did you find a solution for this matter?
Did you guys find the solution? Having the same problem...
Yes, I redid all the installation process and found that I had missed importing something.
Also check this for the missing instructions: https://github.com/react-native-community/react-native-svg#notice
Most helpful comment
Did you guys find the solution? Having the same problem...