Skip to content

error Invalid Version: latest #660

@liujigang

Description

@liujigang

Description

/Users/user/.npm/_npx/7655a6858458ff34/node_modules/create-react-native-library/lib/utils/spawn.js:27
reject(new Error(stderr.trim()));
^

Error: error Invalid Version: latest.
at ChildProcess. (/Users/user/.npm/_npx/7655a6858458ff34/node_modules/create-react-native-library/lib/utils/spawn.js:27:16)
at Object.onceWrapper (node:events:632:26)
at ChildProcess.emit (node:events:517:28)
at maybeClose (node:internal/child_process:1098:16)
at ChildProcess._handle.onexit (node:internal/child_process:303:5)

Node.js v18.20.4

Packages

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

Selected options

❯ npx create-react-native-library@latest react-native-awesome-library
❯ Native module -> Kotlin & Objective-C -> Vanilla

[email protected]

Link to repro

no

Environment

❯ Node.js v18.20.4
❯ npx --version
❯ 10.7.0
❯ Mac 15.0.1

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