react.dev icon indicating copy to clipboard operation
react.dev copied to clipboard

[Bug]: Unable to install eslint-plugin-react-compiler

Open IgorGanapolsky opened this issue 1 year ago • 0 comments
trafficstars

Summary

Here (https://react.dev/learn/react-compiler) you are instructing us to run npm install eslint-plugin-react-compiler. But it causes an error:

npm error code ERESOLVE npm error ERESOLVE could not resolve npm error npm error While resolving: @react-native-async-storage/[email protected] npm error Found: [email protected] npm error node_modules/react-native npm error peer react-native@">=0.60.0" from [email protected] npm error node_modules/react-native-bootsplash npm error react-native-bootsplash@"^3.2.3" from the root project npm error peer react-native@">= 0.60" from [email protected] npm error node_modules/react-native-branch npm error react-native-branch@"6.2.1" from the root project npm error 37 more (react-native-collapsible, react-native-device-info, ...) npm error npm error Could not resolve dependency: npm error peer react-native@"^0.0.0-0 || 0.60 - 0.67 || 1000.0.0" from @react-native-async-storage/[email protected] npm error node_modules/@react-native-async-storage/async-storage npm error @react-native-async-storage/async-storage@"^1.15.15" from the root project npm error npm error Conflicting peer dependency: [email protected] npm error node_modules/react-native npm error peer react-native@"^0.0.0-0 || 0.60 - 0.67 || 1000.0.0" from @react-native-async-storage/[email protected] npm error node_modules/@react-native-async-storage/async-storage npm error @react-native-async-storage/async-storage@"^1.15.15" 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.

Page

https://react.dev/learn/react-compiler

Details

See attached log. error.log

IgorGanapolsky avatar Jun 17 '24 15:06 IgorGanapolsky