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

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

@molul

Description

@molul

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: 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.8.5 || ^17" from restful-react@15.9.4

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions