react-flexbox-grid icon indicating copy to clipboard operation
react-flexbox-grid copied to clipboard

Support for React v17.0.1^

Open xantos008 opened this issue 4 years ago • 8 comments

Can't install to react 17

xantos008 avatar Feb 25 '21 04:02 xantos008

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: [email protected]
npm ERR! Found: [email protected]
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 [email protected]
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.

serena-yu-rozettatech avatar May 17 '21 04:05 serena-yu-rozettatech

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

nicotroia avatar Dec 20 '21 05:12 nicotroia

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

douglasrcjames avatar Apr 15 '22 18:04 douglasrcjames

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

DavidLozzi avatar Jun 14 '22 17:06 DavidLozzi

What are the blockers to get React 18 support?

honungsburk avatar Jun 27 '22 14:06 honungsburk

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?

Oldalf avatar Feb 22 '23 10:02 Oldalf

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

bsimone avatar Mar 20 '23 15:03 bsimone

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

mohsinhere avatar Feb 04 '24 00:02 mohsinhere