Node version
bencz opened this issue · comments
I just cloned the 'main' branch, when I execute the npm install
i got some erros:
rethinkdb-admin$ npm install
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: react-event-listener@0.6.6
npm WARN Found: react@18.2.0
npm WARN node_modules/react
npm WARN dev react@"^18.2.0" from the root project
npm WARN 17 more (@emotion/react, @emotion/styled, @mui/base, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer react@"^16.3.0" from react-event-listener@0.6.6
npm WARN node_modules/react-event-listener
npm WARN react-event-listener@"^0.6.0" from react-swipeable-views-utils@0.14.0
npm WARN node_modules/react-swipeable-views-utils
npm WARN
npm WARN Conflicting peer dependency: react@16.14.0
npm WARN node_modules/react
npm WARN peer react@"^16.3.0" from react-event-listener@0.6.6
npm WARN node_modules/react-event-listener
npm WARN react-event-listener@"^0.6.0" from react-swipeable-views-utils@0.14.0
npm WARN node_modules/react-swipeable-views-utils
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: react-swipeable-views@0.14.0
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 @emotion/react@11.9.3
npm ERR! node_modules/@emotion/react
npm ERR! dev @emotion/react@"^11.9.3" from the root project
npm ERR! peer @emotion/react@"^11.0.0-rc.0" from @emotion/styled@11.9.3
npm ERR! node_modules/@emotion/styled
npm ERR! dev @emotion/styled@"^11.9.3" from the root project
npm ERR! 3 more (@mui/material, @mui/styled-engine, @mui/system)
npm ERR! 3 more (@mui/material, @mui/styled-engine, @mui/system)
npm ERR! 16 more (@emotion/styled, @mui/base, @mui/icons-material, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^15.3.0 || ^16.0.0 || ^17.0.0" from react-swipeable-views@0.14.0
npm ERR! node_modules/react-swipeable-views
npm ERR! dev react-swipeable-views@"^0.14.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: react@17.0.2
npm ERR! node_modules/react
npm ERR! peer react@"^15.3.0 || ^16.0.0 || ^17.0.0" from react-swipeable-views@0.14.0
npm ERR! node_modules/react-swipeable-views
npm ERR! dev react-swipeable-views@"^0.14.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 /home/bencz/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/bencz/.npm/_logs/2022-08-23T22_36_31_290Z-debug-0.log
To Reproduce
Steps to reproduce the behavior:
- clone main branch
- execute npm install
System info
- OS: wsl2 Ubuntu 20.04.4 LTS
- Node version: v18.7.0
$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 39 bits physical, 48 bits virtual
CPU(s): 16
On-line CPU(s) list: 0-15
Thread(s) per core: 2
Core(s) per socket: 8
Socket(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 167
Model name: 11th Gen Intel(R) Core(TM) i9-11900K @ 3.50GHz
Stepping: 1
CPU MHz: 3503.997
BogoMIPS: 7007.99
Virtualization: VT-x
Hypervisor vendor: Microsoft
Virtualization type: full
L1d cache: 384 KiB
L1i cache: 256 KiB
L2 cache: 4 MiB
L3 cache: 16 MiB
There are some issues with packages we use, I had an idea to rewrite them from scratch, because they are not updated for a long time. My advise for now is to use --legacy-peer-deps
flag
Maybe it would be better to use less sophisticated tabs for now, I'll even remove this package later. Thanks for an issue!
FIxed an issue