Skip to content

create-react-native-library fails with new versions of RN #580

@TatianaKapos

Description

@TatianaKapos

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 with

image

This 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

  • create-react-native-library
  • react-native-builder-bob

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions