0

I been trying to create a sample react-native sample app that would work on both windows and mac from the same project. I first ran npx react-native-windows-init which worked just fine and excecuted the windows program. but after running npx react-native-macos-init on the same project, I can't build the windows react-native version any more. I get

Error: TypeError: Cannot read properties of undefined (reading 'configurations'). (7ms)
 × Autolinking failed. Cannot read properties of undefined (reading 'configurations')
Command failed. Re-run the command with --logging for more information.

I created numerous blank projects and installed each one individually. Clean the node_modules and then ran npx react-native run-windows

Vlad
  • 1
  • 2

0 Answers0