Replies: 1 comment 1 reply
-
@firmart Thank you for submitting an issue! Moving this to discussions since this is likely an issue with the Will be sharing this with the team to take a look! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Link to the code that reproduces this issue
codesandbox
To Reproduce
npm run dev
<baseURL>/test
Current vs. Expected behavior
ImageResponse
failed to parsebackground: linear-gradient(15deg, oklch(65.69% 0.196 275.75), oklch(74.8% 0.26 342.55), oklch(74.51% 0.167 183.61))
which resulted in the following error :(65.69% 0.196 275.75), oklch(74.8% 0.26 342.55), oklch(74.51% 0.167 183.61)): Missing )
.Provide environment information
Operating System: Platform: linux Arch: x64 Version: #111-Ubuntu SMP Tue Mar 5 20:16:58 UTC 2024 Available memory (MB): 15888 Available CPU cores: 4 Binaries: Node: 21.6.2 npm: 10.2.4 Yarn: 1.22.10 pnpm: 8.15.4 Relevant Packages: next: 14.2.11 // Latest available version is detected (14.2.11). eslint-config-next: 14.1.0 react: 18.3.1 react-dom: 18.3.1 typescript: 5.6.2 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Image (next/image)
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
According to the error message, I believe that there is an issue parsing
oklch
values.It might also be a
resvg-js
issue assatori
render the image correctly in the OG image playground, butresvg-js
fails to convert it in png.Beta Was this translation helpful? Give feedback.
All reactions