You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the title states, I can't issue npx react-native init AwesomeProject, here's my console output:
npx react-native init AwesomeProject
Need to install the following packages:
react-native@0.70.3
Ok to proceed? (y) y
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: react-native@0.68.2
npm ERR! node_modules/react-native
npm ERR! peer react-native@"*" from @react-native-community/cli@7.0.3
npm ERR! node_modules/@react-native-community/cli
npm ERR! @react-native-community/cli@"^7.0.3" from react-native@0.68.2
npm ERR! react-native@"0.70.3" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! react-native@"0.70.3" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: react@18.1.0
npm ERR! node_modules/react
npm ERR! peer react@"18.1.0" from react-native@0.70.3
npm ERR! node_modules/react-native
npm ERR! react-native@"0.70.3" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/chris/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/chris/.npm/_logs/2022-10-13T11_03_12_994Z-debug-0.log
Version
70.3
Output of npx react-native info
Can't even issue this one either:
npx react-native info
Need to install the following packages:
react-native@0.70.3
Ok to proceed? (y) y
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: react-native@0.68.2
npm ERR! node_modules/react-native
npm ERR! peer react-native@"*" from @react-native-community/cli@7.0.3
npm ERR! node_modules/@react-native-community/cli
npm ERR! @react-native-community/cli@"^7.0.3" from react-native@0.68.2
npm ERR! react-native@"0.70.3" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! react-native@"0.70.3" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: react@18.1.0
npm ERR! node_modules/react
npm ERR! peer react@"18.1.0" from react-native@0.70.3
npm ERR! node_modules/react-native
npm ERR! react-native@"0.70.3" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/chris/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/chris/.npm/_logs/2022-10-13T11_03_39_253Z-debug-0.log
Steps to reproduce
Issue npx react-native info or npx react-native init AwesomeProject in a terminal
Snack, code example, screenshot, or link to a repository
Not applicable to a snack since it s a CLI tool, so here's the screenshot of my terminal output:
The text was updated successfully, but these errors were encountered:
Description
As the title states, I can't issue
npx react-native init AwesomeProject, here's my console output:Version
70.3
Output of
npx react-native infoCan't even issue this one either:
Steps to reproduce
npx react-native infoornpx react-native init AwesomeProjectin a terminalSnack, code example, screenshot, or link to a repository
Not applicable to a snack since it s a CLI tool, so here's the screenshot of my terminal output:
The text was updated successfully, but these errors were encountered: