tui.grid
tui.grid copied to clipboard
@toast-ui/react-grid needs dependency range update
Describe the bug Currently @toast-ui/react-grid has the following in the package.json.
"peerDependencies": {
"react": "^16.7.0"
},
It constraints the react version, and made the following error on my project.
➜ some_project git:(main) npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @toast-ui/[email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"^17.0.2" from the root project
npm ERR! peer react@">=16.8.0" from @emotion/[email protected]
npm ERR! node_modules/@emotion/react
npm ERR! @emotion/react@"^11.5.0" from the root project
npm ERR! peer @emotion/react@"^11.0.0-rc.0" from @emotion/[email protected]
npm ERR! node_modules/@emotion/styled
npm ERR! @emotion/styled@"^11.3.0" from the root project
npm ERR! 5 more (@mui/material, @mui/styled-engine, @mui/system, ...)
npm ERR! 5 more (@mui/material, @mui/styled-engine, @mui/system, ...)
npm ERR! 83 more (@emotion/styled, @material-ui/core, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.7.0" from @toast-ui/[email protected]
npm ERR! node_modules/@toast-ui/react-grid
npm ERR! @toast-ui/react-grid@"^4.19.2" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/react
npm ERR! peer react@"^16.7.0" from @toast-ui/[email protected]
npm ERR! node_modules/@toast-ui/react-grid
npm ERR! @toast-ui/react-grid@"^4.19.2" 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/jeiea/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/jeiea/.npm/_logs/2022-04-18T02_11_17_033Z-debug-0.log
To Reproduce Environment: macOS, npm 8.7.0. Use react 17 or above and tui react grid.
Expected behavior Dependencies should be resolved.
@jeiea We will check this problem and fix it. Thanks!
Close as it resolved.