-
Notifications
You must be signed in to change notification settings - Fork 332
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
npm error ERESOLVE unable to resolve dependency tree | Could not resolve dependency | dependency conflict eslin & eslint-config-next #1467
Comments
Peer dependency checks are opt-in because they add a significant performance cost. Try reverting and see if this works instead:
|
I have this error:
|
1 similar comment
I have this error:
|
Please share your package.json dependency declarations and I will try to reproduce. |
Here is my
|
Have you guys had any chance to try to reproduce my packages updates?
Le sam. 26 oct. 2024 à 06:39, Raine Revere ***@***.***> a
écrit :
… Please share your package.json dependency declarations and I will try to
reproduce.
—
Reply to this email directly, view it on GitHub
<#1467 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AY47YJBNBCA34E7XFE7SRGTZ5MTJPAVCNFSM6AAAAABQJTTCAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZZGM3DGOBRGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I was able to reproduce with this minimal package.json: {
"name": "nextjs14-app",
"version": "0.1.0",
"dependencies": {
"@tailwindcss/typography": "^0.5.13"
},
"devDependencies": {
"tailwindcss": "^3.4.1"
}
} The culprit is this interesting "peerDependencies": {
"tailwindcss": ">=3.0.0 || insiders || >=4.0.0-alpha.20"
},
The format In the mean time, I have added logic to detect "invalid" peer dependency specs and skip them and output a reasonably useful explanation. That should at least allow TLDR: npm-check-updates does not yet support the peer dependency spec that @tailwindcss/typography uses. |
I run |
I've just used the
npm-check-updates
package in my Next.js 14 application to update Next.js and all my packages to the latest versions.In my terminal, I ran the following commands:
npm install -g npm-check-updates
ncu
ncu -u
At this stage, everything worked well, but when I ran:
4.
npm install
, I got this error below in my terminal:The text was updated successfully, but these errors were encountered: