kinsend / kinsend-fe

0 stars 0 forks source link

Resolve dependency resolution conflicts #97

Closed steve-todorov closed 11 months ago

steve-todorov commented 11 months ago

Task Description

There are dependency resolution conflicts that need to be resolved.

Open Questions

Notes

/app # npm install --save-dev @craco/craco@^7.1.0 craco-less@^3.0.0 react-scripts@^5.0.0
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: react-sortable-hoc@2.0.0
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR!   peer react@">=16.0.0" from @ant-design/icons@5.2.6
npm ERR!   node_modules/@ant-design/icons
npm ERR!     @ant-design/icons@"^5.2.6" from the root project
npm ERR!   peer react@">=16.9.0" from @ant-design/react-slick@1.0.2
npm ERR!   node_modules/@ant-design/react-slick
npm ERR!     @ant-design/react-slick@"~1.0.0" from antd@4.24.14
npm ERR!     node_modules/antd
npm ERR!       peer antd@"4.x" from antd-country-phone-input@4.5.1
npm ERR!       node_modules/antd-country-phone-input
npm ERR!         antd-country-phone-input@"^4.3.1" from the root project
npm ERR!       1 more (the root project)
npm ERR!   64 more (@emotion/react, ...)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.3.0 || ^17.0.0" from react-sortable-hoc@2.0.0
npm ERR! node_modules/react-sortable-hoc
npm ERR!   react-sortable-hoc@"^2.0.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@"^16.3.0 || ^17.0.0" from react-sortable-hoc@2.0.0
npm ERR!   node_modules/react-sortable-hoc
npm ERR!     react-sortable-hoc@"^2.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 /root/.npm/eresolve-report.txt for a full report.
/app # npm install
npm notice 
npm notice New major version of npm available! 8.19.4 -> 10.2.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.2.0
npm notice Run npm install -g npm@10.2.0 to update!
npm notice 
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: craco-less@2.0.0
npm ERR! Found: @craco/craco@7.1.0
npm ERR! node_modules/@craco/craco
npm ERR!   @craco/craco@"^7.1.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @craco/craco@"^6.0.0" from craco-less@2.0.0
npm ERR! node_modules/craco-less
npm ERR!   craco-less@"^2.0.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: @craco/craco@6.4.5
npm ERR! node_modules/@craco/craco
npm ERR!   peer @craco/craco@"^6.0.0" from craco-less@2.0.0
npm ERR!   node_modules/craco-less
npm ERR!     craco-less@"^2.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 /root/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2023-10-05T11_25_05_349Z-debug-0.log
/app # 
npm WARN idealTree Removing dependencies.craco-less in favor of devDependencies.craco-less
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: react-sortable-hoc@2.0.0
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR!   peer react@">=16.0.0" from @ant-design/icons@5.2.6
npm ERR!   node_modules/@ant-design/icons
npm ERR!     @ant-design/icons@"^5.2.6" from the root project
npm ERR!   peer react@">=16.9.0" from @ant-design/react-slick@1.0.2
npm ERR!   node_modules/@ant-design/react-slick
npm ERR!     @ant-design/react-slick@"~1.0.0" from antd@4.24.14
npm ERR!     node_modules/antd
npm ERR!       peer antd@"4.x" from antd-country-phone-input@4.5.1
npm ERR!       node_modules/antd-country-phone-input
npm ERR!         antd-country-phone-input@"^4.3.1" from the root project
npm ERR!       1 more (the root project)
npm ERR!   64 more (@emotion/react, ...)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.3.0 || ^17.0.0" from react-sortable-hoc@2.0.0
npm ERR! node_modules/react-sortable-hoc
npm ERR!   react-sortable-hoc@"^2.0.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@"^16.3.0 || ^17.0.0" from react-sortable-hoc@2.0.0
npm ERR!   node_modules/react-sortable-hoc
npm ERR!     react-sortable-hoc@"^2.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 /root/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2023-10-05T11_26_12_790Z-debug-0.log

Task List

The following tasks will need to be carried out:

Useful Commands

Incurred Costs

Task Relationships

This task:

Resources

Useful Links

Points of Contact

steve-todorov commented 11 months ago

This has been fixed as part of #90 efforts.