Skip to content

Unable to install TurboModuleExample using the shell command line #5173

Description

@Olimarrex

Description

Ran the following:
npx @react-native-community/cli@latest init TurboModuleExample --version 0.86
as per this:
https://reactnative.dev/docs/turbo-native-modules-introduction

What is the problem?

Got the following error:

error Unable to find a template for react-native version '0.86'. Please check that the version exists and has a corresponding template published to npm.

How can we address it?

Possibly add a .0 on the end.

Why is it important?

Even when the fix is quick, it's still confusing and leads to concern that I'm doing something wrong instead when the first thing to do when following a step-by-step guide is to stop following it.

Who needs this?

New learners

When should this happen (use version numbers if needed)?

current version

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions