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

Does Enzyme support React 18.0.2 ? #2577

Closed
alamenai opened this issue Feb 5, 2023 · 1 comment
Closed

Does Enzyme support React 18.0.2 ? #2577

alamenai opened this issue Feb 5, 2023 · 1 comment

Comments

@alamenai
Copy link

alamenai commented Feb 5, 2023

Steps to reproduce:

Run: npm i --save-dev enzyme enzyme-adapter-react-18

Expected behavior

installed package.

Current behavior

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/enzyme-adapter-react-18 - Not found
npm ERR! 404 
npm ERR! 404  'enzyme-adapter-react-18@*' is not in this registry.
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/alaeddine/.npm/_logs/2023-02-05T09_04_05_545Z-debug-0.log
@ljharb
Copy link
Member

ljharb commented Feb 5, 2023

No, which is documented in the peerDependencies field. It currently requires React 0.13 - 16.

@ljharb ljharb closed this as completed Feb 5, 2023
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