-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Area: Developer ExperienceWorkstream: Module SupportModule developers have the requisite tooling and clear path for adding windows support to modules.Module developers have the requisite tooling and clear path for adding windows support to modules.question
Milestone
Description
For native modules, a common repo structure is having the module's example in the repo's ./example/ path, installing the module in the example through yarn add ...
When developing and testing the application at the same time, this causes a second version of react-native-windows to be copied from ./node_modules/react-native-windows to ./example/node_modules/{module_name}/node_modules/react-native-windows, which conflicts with ./example/node_modules/react-native-windows when building the example.
The current workaround is to delete ./example/node_modules/{module_name}/node_modules/ manually when yarn gets it, but it's hard to understand where the error is coming from at first.
It'd be good if it was possible to avoid it.
Metadata
Metadata
Assignees
Labels
Area: Developer ExperienceWorkstream: Module SupportModule developers have the requisite tooling and clear path for adding windows support to modules.Module developers have the requisite tooling and clear path for adding windows support to modules.question