Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to install with React 17+ #9

Closed
iki opened this issue Apr 24, 2021 · 4 comments
Closed

Fails to install with React 17+ #9

iki opened this issue Apr 24, 2021 · 4 comments
Assignees

Comments

@iki
Copy link

iki commented Apr 24, 2021

Error when npm install use-async-memo:

Could not resolve dependency:
peer react@"^16.8.0" from [email protected]

On a yarn managed dependencies it can be fixed with resolutions

  "resolutions": {
    "react": "17.0.1"
  }

with npm we have to wait for overrides, and the existing workarounds are not nice

@awmleer
Copy link
Owner

awmleer commented Apr 25, 2021

This is due to the outdated peer dependencies config in package.json. I'll update it asap.

"react": "^16.8.0"

@awmleer awmleer self-assigned this Apr 25, 2021
@awmleer
Copy link
Owner

awmleer commented Apr 25, 2021

Fixed via 98268b4.

@awmleer awmleer closed this as completed Apr 25, 2021
@awmleer
Copy link
Owner

awmleer commented Apr 25, 2021

@iki Please reinstall this package or upgrade it to v1.2.3. It should be working now. Thanks for opening this issue.

@iki
Copy link
Author

iki commented Apr 25, 2021

@awmleer thanks for a super fast fix, works now 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants