react-native-pure-data icon indicating copy to clipboard operation
react-native-pure-data copied to clipboard

Not building in npm or yarn

Open davidplans opened this issue 3 years ago • 1 comments

Hello! Would love to try libpd/native (thank you for building it!), but unfortunately, it doesn't build right with neither npm 7.19.1 or yarn 1.22.10. With npm:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: undefined@undefined
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   peer react@"^16.8.1" from [email protected]
npm ERR!   node_modules/react-native-pure-data
npm ERR!     react-native-pure-data@"*" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"17.0.1" from [email protected]
npm ERR! node_modules/react-native
npm ERR!   peer react-native@">=0.60.0-rc.0 <1.0.x" from [email protected]
npm ERR!   node_modules/react-native-pure-data
npm ERR!     react-native-pure-data@"*" 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 /Users/david/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/david/.npm/_logs/2021-07-18T13_17_17_926Z-debug.log

Yarn does install but points out the same dependencies:

warning " > [email protected]" has unmet peer dependency "react@^16.8.1".
warning " > [email protected]" has unmet peer dependency "react-native@>=0.60.0-rc.0 <1.0.x".

I'm new to react-native but would love to explore. I try npm install --force but I end up with errors on running reactive-native ios. After yarn install, running npm-install in top dir and pod install in ios dir, I get runtime errors too.

davidplans avatar Jul 18 '21 13:07 davidplans