-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
I am getting npm installation error after cloning repo from git.
Currently installed versions are:
versions:
>node --version
v22.13.1
>npm --version
10.9.2
>git --version
git version 2.44.0.windows.1
>expo --version
WARNING: The legacy expo-cli does not support Node +17. Migrate to the new local Expo CLI: https://blog.expo.dev/the-new-expo-cli-f4250d8e3421.
(node:83096) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
6.3.12
ERROR:
D:\Web\ReactNative\react-native-fundamentals>npm i
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @react-native-community/masked-view@0.1.10
npm error Found: react@18.2.0
npm error node_modules/react
npm error react@"18.2.0" from the root project
npm error peer react@"*" from @react-navigation/core@6.4.8
npm error node_modules/@react-navigation/core
npm error @react-navigation/core@"^6.4.8" from @react-navigation/native@6.1.6
npm error node_modules/@react-navigation/native
npm error @react-navigation/native@"^6.0.8" from the root project
npm error 2 more (@react-navigation/elements, @react-navigation/stack)
npm error 13 more (@react-navigation/elements, ...)
npm error
npm error Could not resolve dependency:
npm error peer react@"^16.0" from @react-native-community/masked-view@0.1.10
npm error node_modules/@react-native-community/masked-view
npm error @react-native-community/masked-view@"0.1.10" from the root project
npm error
npm error Conflicting peer dependency: react@16.14.0
npm error node_modules/react
npm error peer react@"^16.0" from @react-native-community/masked-view@0.1.10
npm error node_modules/@react-native-community/masked-view
npm error @react-native-community/masked-view@"0.1.10" 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.
npm error
npm error
npm error For a full report see:
npm error C:\Users\usman\AppData\Local\npm-cache\_logs\2025-03-02T10_46_02_892Z-eresolve-report.txt
npm error A complete log of this run can be found in: C:\Users\usman\AppData\Local\npm-cache\_logs\2025-03-02T10_46_02_892Z-debug-0.log
D:\Web\ReactNative\react-native-fundamentals>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels