Closed TatianaKapos closed 3 months ago
hmmmm actually I think it might be this line https://github.com/callstack/react-native-builder-bob/blob/main/packages/create-react-native-library/src/utils/generateExampleApp.ts#L66 when @ latest needs to be switch with @RNWVersion since 0.74 and 0.75-rc1 aren't compatible!
Description
While using the command
npx --yes create-react-native-library@latest --slug testcli --description testcli --author-name "test" --author-email testt@github.com --author-url http://example.com --repo-url http://example.com --languages java-objc --type module-new --react-native-version 0.75.0-nightly-20240618-5df5ed1a8 testcli
, it fails withThis happens with the any nightly version past 0.75.0-nightly-20240618-5df5ed1a8 and the 0.75-RCs. I think it's because RN moved their templates outside of their repository to https://www.npmjs.com/package/@react-native-community/template?
Packages
Selected options
--description --author-name --author-email --author-url --repo-url --languages java-objc --type module-new --react-native-version 0.75.0-nightly-20240618-5df5ed1a8
Link to repro
https://github.com/microsoft/react-native-windows
Environment
Can't run npx react-native info since it fails to create the library