Closed peibolsang closed 5 months ago
This is mostly related to how the peer dependency is defined and can be worked around by using --legacy-peer-deps
while running npm install
and npm update
.
Currently, the peer dependency in https://github.com/vercel/geist-font/blob/main/packages/next/package.json is defined as:
"peerDependencies": {
"next": "^13.2 || ^14"
}
It can be changed to
"peerDependencies": {
"next": ">=13.2.0 <15"
}
to accept next@canary
versions.
Font Name (Geist Sans/Geist Mono):
Description of the Issue: I deployed a version of my app using Next.js
14.0.4
and Geist1.2.0
and everything worked fine. I could deploy it on vercel.com without issues. However, I decided to enable Partial Pre-rendering (PPR) and got this error:Of course, I updated to the latest canary (
14.0.5-canary.36
at the time this issue was posted) and now I got this error:Steps to Reproduce:
1.2.0
with Next.js14.0.4
and everything works fine. App is built in vercel.com without issues14.0.5-canary.36
(necessary for PPR)Expected Behavior: Geist typeface should be working on
14.0.5-canary.36
(necessary for PPR) as it works in14.0.4
Environment (please complete the following information):
1.2.0