-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Unable to add Microsoft.ReactNative to native module project #4211
Comments
I see
The docs you followed might be a little out of date. I think you need to be on a 61 version of rnw if you are using a 61 version of rn Which the 61 variant isn't under vnext anymore but beta |
@namrog84 I think that was the issue! After running |
Followed the current setup guide. Getting the same error. Steps to reproduceTried to add a reference to Versions
Error
|
I got it to work by using version |
Environment
react-native -v
: 0.61.5npm ls rnpm-plugin-windows
:npm ls react-native-windows
: 0.60.0-vnext.133node -v
: v12.15.0npm -v
: 6.13.4yarn --version
:Then, specify:
Steps to Reproduce
(Write your steps here:)
Expected Behavior
Reference is added to project
Actual Behavior
An error occurs when attempting to add the reference:
Additional context
I'm attempting to follow the native module setup guide on the website to add a Windows native module to an existing React Native native modules library.
The text was updated successfully, but these errors were encountered: