bee-js
bee-js copied to clipboard
Cannot install bee-js with npm 7.5.2
mkdir bee-js-npm-test
cd bee-js-npm-test
npm init -y
npm i [email protected] -g
npm i @ethersphere/[email protected]
Yields this error:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found: [email protected]
npm ERR! node_modules/web-streams-polyfill
npm ERR! web-streams-polyfill@"^4.0.0-beta.1" from @ethersphere/[email protected]
npm ERR! node_modules/@ethersphere/bee-js
npm ERR! @ethersphere/bee-js@"5.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peerOptional web-streams-polyfill@">=2.0.0" from [email protected]
npm ERR! node_modules/ky-universal
npm ERR! ky-universal@"^0.8.2" from @ethersphere/[email protected]
npm ERR! node_modules/@ethersphere/bee-js
npm ERR! @ethersphere/bee-js@"5.0.0" 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/aron/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/aron/.npm/_logs/2022-08-11T09_35_09_841Z-debug.log
node -v
v16.13.1
npm -v
7.5.2