TerrenceMiao / react-bootstrap-table-nextgen

MIT License
2 stars 1 forks source link

Does not support react 18 #25

Open JohnBilousov opened 11 months ago

JohnBilousov commented 11 months ago

npm i react-bootstrap-table-nextgen-toolkit npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: *****t@3.1.0 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@"^16.4.0" from react-bootstrap-table-nextgen-toolkit@2.3.9 npm ERR! node_modules/react-bootstrap-table-nextgen-toolkit npm ERR! react-bootstrap-table-nextgen-toolkit@"*" 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.

jtsay362 commented 7 months ago

I would like support for React 18 as well. It's strange that types for React 18 are included already, but not the actual React versions:

"@types/react": "^18.2.18",
"@types/react-dom": "^18.2.7",

in package.json