Part of Upgrade node and npm to latest LTS versions.
The following warnings were reported while migrating from npm 6 to npm 7 in #33892:
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: @react-native-community/cli@4.12.0
npm ERR! npm WARN Found: react-native@0.64.0
npm ERR! npm WARN node_modules/react-native
npm ERR! npm WARN dev react-native@"0.64.0" from the root project
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react-native@">=0.62.0-rc.0 <0.64.0" from @react-native-community/cli@4.12.0
npm ERR! npm WARN node_modules/@react-native-community/cli
npm ERR! npm WARN dev @react-native-community/cli@"^4.8.0" from the root project
npm ERR! npm WARN
npm ERR! npm WARN Conflicting peer dependency: react-native@0.63.4
npm ERR! npm WARN node_modules/react-native
npm ERR! npm WARN peer react-native@">=0.62.0-rc.0 <0.64.0" from @react-native-community/cli@4.12.0
npm ERR! npm WARN node_modules/@react-native-community/cli
npm ERR! npm WARN dev @react-native-community/cli@"^4.8.0" from the root project
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: eslint-plugin-react-native@3.7.0
npm ERR! npm WARN Found: eslint@6.3.0
npm ERR! npm WARN node_modules/eslint
npm ERR! npm WARN peer eslint@"^5.16.0 || ^6.8.0 || ^7.2.0" from eslint-config-airbnb-base@14.2.0
npm ERR! npm WARN node_modules/eslint-config-airbnb/node_modules/eslint-config-airbnb-base
npm ERR! npm WARN eslint-config-airbnb-base@"^14.0.0" from eslint-config-airbnb@18.0.1
npm ERR! npm WARN node_modules/eslint-config-airbnb
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer eslint@"^3.17.0 || ^4 || ^5" from eslint-plugin-react-native@3.7.0
npm ERR! npm WARN node_modules/eslint-plugin-react-native
npm ERR! npm WARN dev eslint-plugin-react-native@"3.7.0" from the root project
npm ERR! npm WARN
npm ERR! npm WARN Conflicting peer dependency: eslint@5.16.0
npm ERR! npm WARN node_modules/eslint
npm ERR! npm WARN peer eslint@"^3.17.0 || ^4 || ^5" from eslint-plugin-react-native@3.7.0
npm ERR! npm WARN node_modules/eslint-plugin-react-native
npm ERR! npm WARN dev eslint-plugin-react-native@"3.7.0" from the root project
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: react-native-macos@0.60.0-microsoft.73
npm ERR! npm WARN Found: react@17.0.1
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN peer react@"16.8.6" from react-native@0.60.6
npm ERR! npm WARN node_modules/react-native-macos/node_modules/react-native
npm ERR! npm WARN peer react-native@"^0.60.0" from @react-native-community/cli@2.10.0
npm ERR! npm WARN node_modules/react-native-macos/node_modules/@react-native-community/cli
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"16.8.6" from react-native-macos@0.60.0-microsoft.73
npm ERR! npm WARN node_modules/react-native-macos
npm ERR! npm WARN dev react-native-macos@"0.60.0-microsoft.73" from the root project
npm ERR! npm WARN
npm ERR! npm WARN Conflicting peer dependency: react@16.8.6
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN peer react@"16.8.6" from react-native-macos@0.60.0-microsoft.73
npm ERR! npm WARN node_modules/react-native-macos
npm ERR! npm WARN dev react-native-macos@"0.60.0-microsoft.73" from the root project
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: react-native-windows@0.62.17
npm ERR! npm WARN Found: react@17.0.1
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN peer react@"16.8.6" from react-native@0.60.6
npm ERR! npm WARN node_modules/react-native-macos/node_modules/react-native
npm ERR! npm WARN peer react-native@"^0.60.0" from @react-native-community/cli@2.10.0
npm ERR! npm WARN node_modules/react-native-macos/node_modules/@react-native-community/cli
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"16.11.0" from react-native-windows@0.62.17
npm ERR! npm WARN node_modules/react-native-windows
npm ERR! npm WARN dev react-native-windows@"0.62.17" from the root project
npm ERR! npm WARN
npm ERR! npm WARN Conflicting peer dependency: react@16.11.0
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN peer react@"16.11.0" from react-native-windows@0.62.17
npm ERR! npm WARN node_modules/react-native-windows
npm ERR! npm WARN dev react-native-windows@"0.62.17" from the root project
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: react-native-windows@0.62.17
npm ERR! npm WARN Found: react-native@0.64.0
npm ERR! npm WARN node_modules/react-native
npm ERR! npm WARN dev react-native@"0.64.0" from the root project
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react-native@"^0.62.0-0" from react-native-windows@0.62.17
npm ERR! npm WARN node_modules/react-native-windows
npm ERR! npm WARN dev react-native-windows@"0.62.17" from the root project
npm ERR! npm WARN
npm ERR! npm WARN Conflicting peer dependency: react-native@0.62.3
npm ERR! npm WARN node_modules/react-native
npm ERR! npm WARN peer react-native@"^0.62.0-0" from react-native-windows@0.62.17
npm ERR! npm WARN node_modules/react-native-windows
npm ERR! npm WARN dev react-native-windows@"0.62.17" from the root project
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: use-subscription@1.4.1
npm ERR! npm WARN Found: react@17.0.1
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN peer react@"16.8.6" from react-native@0.60.6
npm ERR! npm WARN node_modules/react-native-macos/node_modules/react-native
npm ERR! npm WARN peer react-native@"^0.60.0" from @react-native-community/cli@2.10.0
npm ERR! npm WARN node_modules/react-native-macos/node_modules/@react-native-community/cli
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^16.8.0" from use-subscription@1.4.1
npm ERR! npm WARN node_modules/use-subscription
npm ERR! npm WARN use-subscription@"^1.0.0" from react-native@0.64.0
npm ERR! npm WARN node_modules/react-native
npm ERR! npm WARN
npm ERR! npm WARN Conflicting peer dependency: react@16.14.0
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN peer react@"^16.8.0" from use-subscription@1.4.1
npm ERR! npm WARN node_modules/use-subscription
npm ERR! npm WARN use-subscription@"^1.0.0" from react-native@0.64.0
npm ERR! npm WARN node_modules/react-native
It would be great to update all the dependencies reported that use either an older version of React Native or React.
I encounter also the following error, which is related to appium:
npm ERR! npm ERR! code ENOENT
npm ERR! npm ERR! syscall chmod
npm ERR! npm ERR! path /Users/gziolo/.npm/_cacache/tmp/git-cloneDqXDtl/node_modules/appium/node_modules/.bin/authorize-ios
npm ERR! npm ERR! errno -2
npm ERR! npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/gziolo/.npm/_cacache/tmp/git-cloneDqXDtl/node_modules/appium/node_modules/.bin/authorize-ios'
npm ERR! npm ERR! enoent This is related to npm not being able to find a file.
Part of Upgrade node and npm to latest LTS versions.
The following warnings were reported while migrating from npm 6 to npm 7 in #33892:
It would be great to update all the dependencies reported that use either an older version of React Native or React.
I encounter also the following error, which is related to
appium: