next.js icon indicating copy to clipboard operation
next.js copied to clipboard

Missing `src.blurDataURL` for default metadata images while importing `apple-icon.png`/`icon.png`/`opengraph-image.png`/`twitter-image.png` with Turbopack enabled

Open dimaMachina opened this issue 1 year ago • 0 comments

Link to the code that reproduces this issue

https://github.com/dimaMachina/repro-next/tree/missing-src.blurDataURL

To Reproduce

Run pnpm dev

Current vs. Expected behavior

See errors:

Error: Image with src "/_next/static/media/opengraph-image.41136f47.png" has "placeholder='blur'" property but is missing the "blurDataURL" property.
Error: Image with src "/_next/static/media/icon.92de3cc2.png" has "placeholder='blur'" property but is missing the "blurDataURL" property.
Error: Image with src "/_next/static/media/opengraph-image.41136f47.png" has "placeholder='blur'" property but is missing the "blurDataURL" property.
Error: Image with src "/_next/static/media/twitter-image.92de3cc2.png" has "placeholder='blur'" property but is missing the "blurDataURL" property.

Without --turbo I don't have any error.

Provide environment information

Operating System:
  Platform: darwin
  Arch: x64
  Version: Darwin Kernel Version 22.5.0: Mon Apr 24 20:53:19 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T6020
  Available memory (MB): 98304
  Available CPU cores: 12
Binaries:
  Node: 20.15.1
  npm: 10.7.0
  Yarn: N/A
  pnpm: 9.12.1
Relevant Packages:
  next: 15.0.0-canary.196 // There is a newer canary version (15.0.0-canary.197) available, please upgrade! 
  eslint-config-next: 14.1.0
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.6.3
Next.js Config:
  output: N/A

Which area(s) are affected? (Select all that apply)

Turbopack

Which stage(s) are affected? (Select all that apply)

next dev (local)

Additional context

No response

dimaMachina avatar Oct 18 '24 00:10 dimaMachina