roylee0704 / react-flexbox-grid

A set of React components implementing flexboxgrid with the power of CSS Modules.

Home Page:http://roylee0704.github.io/react-flexbox-grid/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for React v17.0.1^

xantos008 opened this issue · comments

Can't install to react 17

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.

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

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

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

What are the blockers to get React 18 support?

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?

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

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