-
Notifications
You must be signed in to change notification settings - Fork 13
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
Incorrect peer dependency #7
Comments
Can you detail your setup? I've just tried running |
Steps to replicate: npx create-react-app test
cd test
npm run eject that results in the following package.json {
"jest": "^24.5.0",
"jest-pnp-resolver": "^1.2.1",
"jest-resolve": "^24.5.0",
...
} Now... npm run test # test suite runs fine...
npm outdated
> jest-pnp-resolver 1.0.2 1.0.2 1.2.1 test
npm i jest-pnp-resolver@latest # update jest-pnp-resolver
npm run test # test suite fails!!! Hope this helps |
To be clear, after installing the latest jest-pnp-resolver the JSON looks as follows: {
"jest": "23.6.0",
"jest-pnp-resolver": "^1.2.1",
"jest-resolve": "23.6.0",
...
} |
Were you able to fix it? I am getting the same error.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jest-pnp-resolver@1.2.0 and above does not work with jest@23.6.0 and I would suggest adding jest 24.x to the list of peer dependencies
It throws the following in a CRA:
The text was updated successfully, but these errors were encountered: