question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure it has not already been reported

Fastify version

3.18.0

Plugin version

5.4.1

Node.js version

14.7.0

Operating system

Linux

Operating system version (i.e. 20.04, 11.3, 10)

NixOS

Description

❯ npm install                    
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! Found: next@11.0.0
npm ERR! node_modules/next
npm ERR!   next@"11.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer next@"9.x.x || 10.x.x" from fastify-nextjs@5.4.1
npm ERR! node_modules/fastify-nextjs
npm ERR!   fastify-nextjs@"5.4.1" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Steps to Reproduce

  1. update next to 11.0.0 in package.json
  2. npm install

Expected Behavior

No error and no regressions.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
uipoetcommented, Jun 17, 2021

Isn’t the issue that fastify-nextjs has a peer dependency on on next locked to v10?

0reactions
uipoetcommented, Jun 29, 2021

Thank you for the prompt update!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Blog - Next.js 11
Next.js 11 continues our mission to create the best developer experience with a new conformance system and performance improvements.
Read more >
Upgrade Guide - Next.js
Upgrading from version 10 to 11. Upgrade React version to latest.
Read more >
Upgrading: Version 11 - Next.js beta docs
Learn how to upgrade your Next.js application to version 11. ... To upgrade to version 11, run the following command: npm install next@11...
Read more >
Blog - Next.js 11.1
Next.js 11.1 introduces an important security patch, ES Modules support, performance improvements, Rust-based tooling, 2x faster data ...
Read more >
Blog | Next.js
Next.js by Vercel is the React framework for production.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found