reactjs / react.dev

The React documentation website
https://react.dev/
Creative Commons Attribution 4.0 International
10.86k stars 7.45k forks source link

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

Open IgorGanapolsky opened 1 week ago

IgorGanapolsky commented 1 week ago

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/async-storage@1.15.16 npm error Found: react-native@0.73.8 npm error node_modules/react-native npm error peer react-native@">=0.60.0" from react-native-bootsplash@3.2.7 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 react-native-branch@6.2.1 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/async-storage@1.15.16 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: react-native@1000.0.0 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/async-storage@1.15.16 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