Skip to content

react-native-template-js has not updated react version yet? #2741

@clayxmen

Description

@clayxmen

Environment

Description

PS C:\VPS\golive> npx @react-native-community/cli@latest init ReactNativeMealsApp --template react-native-template-js

           ######                ######
         ###     ####        ####     ###
        ##          ###    ###          ##
        ##             ####             ##
        ##             ####             ##
        ##           ##    ##           ##
        ##         ###      ###         ##
         ##  ########################  ##
      ######    ###            ###    ######
  ###     ##    ##              ##    ##     ###

## ### #### ### ##

#### ######## ####

### ########## ###

#### ######## ####

## ### #### ### ##

  ###     ##    ##              ##    ##     ###
      ######    ###            ###    ######
         ##  ########################  ##
        ##         ###      ###         ##
        ##           ##    ##           ##
        ##             ####             ##
        ##             ####             ##
        ##          ###    ###          ##
         ###     ####        ####     ###
           ######                ######


          Welcome to React Native 0.82.1!
             Learn once, write anywhere

✔ Downloading template
✔ Copying template
✔ Processing template
⠴ Installing dependencies

error An unexpected error occurred: Command failed with exit code 1: npm install
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/react
npm error react@"17.0.1" from the root project
npm error
npm error Could not resolve dependency:
npm error peer react@"^16.8" from @react-native-community/[email protected]
npm error node_modules/@react-native-community/async-storage
npm error @react-native-community/async-storage@"^1.12.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error C:\Users\ADMIN\AppData\Local\npm-cache_logs\2025-12-06T17_43_53_385Z-eresolve-report.txt
npm error A complete log of this run can be found in: C:\Users\ADMIN\AppData\Local\npm-cache_logs\2025-12-06T17_43_53_385Z-debug-0.log.

Reproducible Demo

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions