Error with react-native link
See original GitHub issueWhen I try to run react-native link @react-native-community/viewpager
I’ve got this error:
failed to get dependency config
@react-native-community/viewpager: ^1.1.6 react-native-cli: 2.0.1 react-native: 0.59.0
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Getting error while doing react-native link - Stack Overflow
2- Try npm i to fix the problems with dependencies, then command react-native run-android to make sure your dependencies and "node_modules" ...
Read more >Addressing common errors in React Native - LogRocket Blog
This error occurs when you attempt to use the manual linking feature (i.e. react-native link and react-native link unlink commands), which have ...
Read more >"react-native link" error · Issue #13461 - GitHub
I just realized this problem occurs when using/linking react-native-vector-icons . When I remove this dependency, the error disappears. 1
Read more >Troubleshooting - React Native
These are some common issues you may run into while setting up React Native. If you encounter something that is not listed here,...
Read more >React Native SDK Troubleshooting - Visual Studio App Center
This error appears when RN core libraries aren't referenced correctly, which can be caused by different kinds of integrating or linking issues.
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
@sibelius have you tried running with
--projectRoot
flag? I think that may do the trick. We’ve rewritten that part in v2, but we still need testing in monorepo setups. Looks like we can use Entria for e2e testing, cc @grabbou@sibelius not sure what is the status of this but if manual setup works and automatic does not for you, I think this is an issue for https://github.com/react-native-community/cli.