-
Link to the code that reproduces this issuehttps://github.com/Dannymx/shockinglemon.com/tree/develop To Reproduce
Current vs. Expected behaviorFails at validating types in generateMetadata methods. Provide environment information❯ npx --no-install next info
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 24.0.0: Tue Sep 24 23:37:25 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T6030
Available memory (MB): 36864
Available CPU cores: 12
Binaries:
Node: 20.17.0
npm: 10.8.2
Yarn: 1.22.22
pnpm: 9.10.0
Relevant Packages:
next: 15.0.1 // Latest available version is detected (15.0.1).
eslint-config-next: 15.0.1
react: 18.3.1
react-dom: 18.3.1
typescript: 5.6.3
Next.js Config:
output: N/A Which area(s) are affected? (Select all that apply)TypeScript Which stage(s) are affected? (Select all that apply)next dev (local), next build (local) Additional contextOnly fails in my dynamic pages that generate Metadata info.
|
Beta Was this translation helpful? Give feedback.
Answered by
samcx
Oct 28, 2024
Replies: 2 comments 1 reply
-
This is part of the breaking changes that came with v15. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
samcx
-
I fixed it by converting params to a Promise For example before i did this
Now I do this
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is part of the breaking changes that came with v15.