roylee0704 / react-flexbox-grid

A set of React components implementing flexboxgrid with the power of CSS Modules.
http://roylee0704.github.io/react-flexbox-grid/
2.93k stars 205 forks source link

Support for React v17.0.1^ #183

Open xantos008 opened 3 years ago

xantos008 commented 3 years ago

Can't install to react 17

serena-yu-rozettatech commented 3 years ago

Same here.

How to reproduce:

  1. Create a react project using the latest version (React 17.x) or upgrade react in an existing project.
  2. Run npm install --save react-flexbox-grid as per the documentation of react-flexbox-grid

Expected: package installed.

Actual:

npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: saleor-site@3.0.0-a.0
npm ERR! Found: react@17.0.2
npm ERR! node_modules/react
npm ERR!   react@"^17.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^0.14.3 || ^15.5.4 || ^16.0.0" from react-flexbox-grid@2.1.2
npm ERR! node_modules/react-flexbox-grid
npm ERR!   react-flexbox-grid@"*" 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.
nicotroia commented 2 years ago

Try npm install --save react-flexbox-grid --legacy-peer-deps

douglasrcjames commented 2 years ago

Bumping this, been 6 months and still seems to be an issue.

DavidLozzi commented 2 years ago

@roylee0704 i see the peer dep is set in package.json, can we get a new version deployed to npm?

honungsburk commented 2 years ago

What are the blockers to get React 18 support?

Oldalf commented 1 year ago

Having the same problem, came into an older legacy application and trying to get everything up to date and one of our blockers is this. Not sure if there's any alternatives as a replacement seeing as the last publish to npm was 5 years ago?

bsimone commented 1 year ago

any news on React 18? Anyone knows an alternative package for flexbox grid?

mohsinhere commented 6 months ago

What are everyone doing about this? I need to upgrade my project and sort out all critical vulnerabilities and kind of stuck here.