question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error with react-native link

See original GitHub issue

When 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:closed
  • Created 4 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
thymikeecommented, Apr 30, 2019

@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

0reactions
ferrannpcommented, Jun 18, 2019

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found