UNMET PEER DEPENDENCY when npm install
envgap__shoutem__ui-228
Original GitHub issue ↗Opened 2017-04-12
01 / FAILURE SIGNATURE
As reported upstream
No identifying execution failure has been captured.
Not checked yet.
- No curated issue-specific recipe or verified environment fix is available.
02 / ENVIRONMENT RECIPE
- Base commit
Not freshly verified- Manifest
package.json- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
shoutem/ui #228 · read the original issue
I'm trying to install shoutem ui but I get some errors.
`npm install --save @shoutem/ui
`
Then I receive this error in the console:
```
+-- @shoutem/ui@0.13.0
| +-- UNMET PEER DEPENDENCY react@^15.0.0
| +-- react-native-lightbox@0.7.0 (git://github.com/shoutem/react-native-lightbox.git#4e58b9b1aca166142d69b161ff511efc3358ff9f)
| | `-- react-native-view-transformer@0.0.28 (git://github.com/ldn0x7dc/react-native-view-transformer.git#f7e028b6566022deac4e523052e74c2c63a4af7e)
| `-- react-native-transformable-image@0.0.19 (git://github.com/shoutem/react-native-transformable-image.git#7d15395ec3857571711a12bc08f24f3a96ff1cde)
`-- UNMET PEER DEPENDENCY react@16.0.0-alpha.6
npm WARN @shoutem/ui@0.13.0 requires a peer of react@^15.0.0 but none was installed.
npm WARN @shoutem/theme@0.9.0 requires a peer of react@^15.1.0 but none was installed.
npm WARN @shoutem/animation@0.10.2 requires a peer of react@^15.0.0 but none was installed.
```
The result is that I have "@shoutem" folder under node_modules with:
```
- "@shoutem"
- animation
- theme
- ui
```
But the error is telling something wasn't installed.
Then I link and the response is:
`[@shoutem/ui] - linking native dependencies
`
When I'm using `"<TextInput/>"` component there are no error but there is no style as well.
Print screen is attached: https://nimbus.everhelper.me/client/notes/share/861785/e7b1kwhopz9x4mivu3g0
My package.json file look like this:
```
...
"dependencies": {
"@shoutem/ui": "^0.13.0",
"firebase": "^3.7.5",
"moment": "^2.18.1",
"react": "16.0.0-alpha.6",
"react-native": "0.43.1",
"react-native-device-info": "^0.10.2",
"react-native-fcm": "^6.2.0",
"react-native-keyboard-aware-scroll-view": "^0.2.8",
"react-redux": "^5.0.4",
"redux": "^3.6.0",
"redux-logger": "^3.0.1",
"redux-thunk": "^2.2.0"
},
"devDependencies": {
"babel-jest": "19.0.0",
"babel-preset-react-native": "1.9.1",
"jest": "19.0.2",
"react-test-renderer": "16.0.0-alpha.6"
},
"jest": {
"preset": "react-native"
}
```
I'm using windows with android studio + avd as you can see in the print screen.
I tried with `"@shoutem/ui": "^0.12.0"` and I have the same error.
Any idea?
Thanks, Leo.
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]
Issue-specific recipe and runtime smoke command require review against the complete issue and repository.
Legacy reproduction is generic install-only; match the actual issue failure before admission.