react-native-svg": "^6.0.0-rc1" > npm ERR! peer dep missing
See original GitHub issueJust tried to install react-native-svg to a project I had setup in the past. but unfortunately I am getting the following error:
├── UNMET PEER DEPENDENCY react@16.0.0-alpha.6
├── UNMET PEER DEPENDENCY react-native@0.44.0
└─┬ react-native-svg@6.0.0-rc1
└─┬ color@0.11.4
└── color-string@0.3.0
npm WARN react-native-svg@6.0.0-rc1 requires a peer of react-native@>=0.46.0 but none was installed.
npm WARN react-native-svg@6.0.0-rc1 requires a peer of react@16.0.0-alpha.12 but none was installed.
I also tried to downgrade to "react-native-svg": "^5.4.1",
but that also did not work:
├── UNMET PEER DEPENDENCY react@16.0.0-alpha.6
├── UNMET PEER DEPENDENCY react-native@0.44.0
└── react-native-svg@5.4.1
npm WARN react-native-svg@5.4.1 requires a peer of react-native@>=0.46.0 but none was installed.
npm WARN react-native-svg@5.4.1 requires a peer of react@16.0.0-alpha.12 but none was installed.
My current JSON file is as follows:
"dependencies": {
"react": "16.0.0-alpha.6",
"react-native": "^0.44.0",
"react-native-ble-manager": "^6.2.1",
"react-native-svg": "^6.0.0-rc1",
"react-navigation": "^1.0.0-beta.9",
"react-redux": "^5.0.4",
"redux": "^3.6.0",
"redux-saga": "^0.15.3"
},
Also updating react to alpha.12 gets me to these issues: https://github.com/facebook/react-native/issues/16174
Thank you for your help.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5
Top Results From Across the Web
react-native-svg": "^6.0.0-rc1" > npm ERR! peer dep missing
Just tried to install react-native-svg to a project I had setup in the past. but unfortunately I am getting the following error: ...
Read more >npm install react-native-svg --save fails - Stack Overflow
Im new to react-native. I want to draw a chart , for that I came across this library. But unfortunately while installing the...
Read more >react-native-svg - npm
react -native-svg provides SVG support to React Native on iOS, Android, macOS, Windows, and a compatibility layer for the web.
Read more >you must install peer dependencies yourself Code Example
npm WARN codelyzer@6.0.1 requires a peer of tslint@^5.0.0 || ^6.0.0 but none is installed. You must install peer dependencies yourself. typescript by devops ......
Read more >Package List — Spack 0.20.0.dev0 documentation
This is a list of things you can install using Spack. ... node-js, py-six, xmore ... Test Dependencies: boost; Description: An SVG based...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I would recommend you upgrade react-native to the latest version, and react to the same version as depended on by that, and then use the latest version of react-native-svg
https://github.com/react-native-community/react-native-svg#notice