-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--projectDir is not supported any more #25628
Comments
Hi @taoqf, It seems that the behaviour for linking native dependencies has changed in RN 0.60. See the blog post announcing its release: https://facebook.github.io/react-native/blog/2019/07/03/version-60#native-modules-are-now-autolinked Running
so it does look like option I believe this is the relevant documentation you need: https:/react-native-community/cli/blob/master/docs/autolinking.md Hope that helps! |
When upgrade to 0.60, I got this error when I run
react-native link
:error: unknown option `--projectRoot'
React Native version:
0.60.0 0.60.1 0.60.2 0.60.3
Steps To Reproduce
Just link any package with --projectRoot flag
Describe what you expected to happen:
I with --projectRoot flag back, it's useful to me.
Snack, code example, or link to a repository:
The text was updated successfully, but these errors were encountered: