paradigmxyz / rivet

Developer Wallet & DevTools for Anvil

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to install dependencies

diegoalzate opened this issue · comments

Describe the bug
I can not install the dependencies using npm

To Reproduce
Steps to reproduce the behavior:

  1. clone repo
  2. run npm i

Expected behavior
Install should go through as it works with pnpm

Desktop (please complete the following information):

  • node v18.17.1
  • npm v9.6.7

Additional context
LOGS

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @radix-ui/react-polymorphic@0.0.14
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR!   dev react@"^18.2.0" from the root project
npm ERR!   peer react@">=16.8.0" from @floating-ui/react-dom@2.0.2
npm ERR!   node_modules/@floating-ui/react-dom
npm ERR!     @floating-ui/react-dom@"^2.0.0" from @radix-ui/react-popper@1.1.2
npm ERR!     node_modules/@radix-ui/react-popper
npm ERR!       @radix-ui/react-popper@"1.1.2" from @radix-ui/react-tooltip@1.0.6
npm ERR!       node_modules/@radix-ui/react-tooltip
npm ERR!         dev @radix-ui/react-tooltip@"^1.0.6" from the root project
npm ERR!   44 more (@radix-ui/react-arrow, @radix-ui/react-checkbox, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8 || ^17.0" from @radix-ui/react-polymorphic@0.0.14
npm ERR! node_modules/@radix-ui/react-polymorphic
npm ERR!   dev @radix-ui/react-polymorphic@"^0.0.14" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: react@17.0.2
npm ERR! node_modules/react
npm ERR!   peer react@"^16.8 || ^17.0" from @radix-ui/react-polymorphic@0.0.14
npm ERR!   node_modules/@radix-ui/react-polymorphic
npm ERR!     dev @radix-ui/react-polymorphic@"^0.0.14" 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!
npm ERR! For a full report see:
npm ERR! /Users/diegoalzate/.npm/_logs/2023-09-13T15_31_19_259Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /Users/diegoalzate/.npm/_logs/2023-09-13T15_31_19_259Z-debug-0.log