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
No matter what version is specified in command "npx react-native init MyApp --template [email protected]" cli always trying to instal RN v. 0.70.6 and fails.
Logs
OS: MacOs Ventura 13.0
npx react-native init MyApp --template [email protected]
Need to install the following packages:
[email protected]
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: [email protected]
npm ERR! node_modules/react-native
npm ERR! peer react-native@">=0.64.0-rc.0 || 0.0.0-*" from @react-native-community/[email protected]
npm ERR! node_modules/@react-native-community/cli
npm ERR! @react-native-community/cli@"^5.0.1-alpha.1" from [email protected]
npm ERR! react-native@"0.70.6" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! react-native@"0.70.6" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/react
npm ERR! peer react@"18.1.0" from [email protected]
Expected results
To install a proper version of RN
Observed results
No matter what version is specified in command "npx react-native init MyApp --template [email protected]" cli always trying to instal RN v. 0.70.6 and fails.
Logs
OS: MacOs Ventura 13.0
Steps to reproduce
The text was updated successfully, but these errors were encountered: