trietho / react-native-a-beep

A very lite module to play system sounds and beep for react-native apps (no sound files)
56 stars 33 forks source link

Unable to install #26

Open Yasir12598 opened 2 years ago

Yasir12598 commented 2 years ago
"react": "18.0.0",
 "react-native": "0.69.0",

Error during installation

PS C:\Users\Muhammad Yasir\Desktop\Apps\Scanner> npm install "react-native-a-beep"
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: Scanner@0.0.1
npm ERR! Found: react-native@0.69.0
npm ERR! node_modules/react-native
npm ERR!   react-native@"0.69.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react-native@"^0.64.1" from react-native-a-beep@1.2.0
npm ERR! node_modules/react-native-a-beep
npm ERR!   react-native-a-beep@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\Muhammad Yasir\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Muhammad Yasir\AppData\Local\npm-cache\_logs\2022-08-31T07_12_05_180Z-debug-0.log
PS C:\Users\Muhammad Yasir\Desktop\Apps\Scanner>
Productivix commented 2 years ago

yarn add react-native-a-beep installes on RN 0.70 without a pb, only for @trietho a warning : > react-native-a-beep@1.2.0" has incorrect peer dependency "react-native@^0.64.1".