Skip to content

Unable to build newly set up app in monorepo #13481

Closed Answered by shirakaba
shirakaba asked this question in Q&A
Discussion options

You must be logged in to vote

Looks like I can solve it by manually editing the .sln (in my case, banana.sln) to prepend ..\..\ to the paths.

There was also a follow-up issue. It looks like react-native-windows also expects to be run alongside a closely-corresponding version of react-native, because it compiles some of the files from it. When I used react-native-windows@0.74.11 alongside react-native@0.73.1, react-native-windows was unable to find some C++ files from Yoga. Updating to react-native@0.74.3 to get them both on the same minor version fixed that.

Closing, though will be interested in better monorepo support in future.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by shirakaba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant