kintone-labs / kintone-ui-component

kintone UI Component
https://ui-component.kintone.dev/
Other
61 stars 62 forks source link

react@18 Could not resolve dependency #1269

Closed master-maintenance1-peer-connect closed 1 year ago

master-maintenance1-peer-connect commented 1 year ago

could not be used with react@18.

Version

Environment

Current Behavior

npm update

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: monthly_totals4gruops@0.3.2
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR!   react@"^18.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"17.0.2" from @kintone/kintone-ui-component@0.9.3
npm ERR! node_modules/@kintone/kintone-ui-component
npm ERR!   @kintone/kintone-ui-component@"^0.9.3" 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.

Expected Behavior

The use of react@17 will also be deprecated soon, so we expect to be able to use kintone-ui-component with react@18 or later.

TomokoMiyake commented 1 year ago

@master-maintenance1-peer-connect Thank you for the issue. Now we still use React 17 in our kintone UI Component v0 project. We will check the contents and reply to you. Please wait a moment.

TomokoMiyake commented 1 year ago

@master-maintenance1-peer-connect We checked our project status and decided not to upgrade to React18 now. Sorry for the inconvenience.

Here is the reason why.

TomokoMiyake commented 1 year ago

@master-maintenance1-peer-connect After the confirmation above, please close the issue if you can.

Thank you!

TomokoMiyake commented 1 year ago

@master-maintenance1-peer-connect I will close this issue due to the reason described above. If you have any additional questions or favors, please re-open the issue.

Thank you!