Closed Artotim closed 2 months ago
--react-native-version
is intended for testing with newer react native versions. we officially only support the current react native version for the generated example project. you can utilize it for older react native versions if you want to, but since it's not officially supported, you're on your own to make it work. we currently don't have the bandwidth to support many react native versions simultaneously.
Description
I had to create a library using an older version of React Native, so I ran the command:
It worked, but I encountered two issues when running the example app:
Error:
project.ios.automaticPodsInstallation is not allowed
react-native.config.js
:Error:
Cannot find module '@react-native/metro-config'
I haven't tested it on iOS yet, so there might be more issues.
Would be nice to improve backward compatibility so it could prevent these errors when using an older React Native version.
Thanks.
Packages
Selected options
--react-native-version=0.71
Link to repro
Not published
Environment
OS: Windows 11 10.0.22631 CPU: (12) x64 AMD Ryzen 5 5600H with Radeon Graphics Memory: 24 GB Node: 18.20.4 Yarn: 3.6.1 npm: 10.7.0