Skip to content
This repository has been archived by the owner on Nov 11, 2023. It is now read-only.

Can't install restful-react in a React 18 project #402

Open
molul opened this issue Jan 21, 2023 · 0 comments
Open

Can't install restful-react in a React 18 project #402

molul opened this issue Jan 21, 2023 · 0 comments

Comments

@molul
Copy link

molul commented Jan 21, 2023

Describe the bug
Can't seem to install restful-react in my project because it doesn't seem to work with React >17.

To Reproduce
Steps to reproduce the behavior:

  1. Type npm i restful-react in a React 18 project
  2. Wait a bit and you'll see these error messages:
    npm ERR! Found: [email protected]
    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.8.5 || ^17" from [email protected]

Expected behavior
I haven't seen any compatibility chart, so I expected to install it without problems.

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: no browser. Visual Studio Code editor terminal
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant