Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error processing favicon in Next.js 15 #71825

Open
AvishakeAdhikary opened this issue Oct 24, 2024 · 0 comments
Open

Error processing favicon in Next.js 15 #71825

AvishakeAdhikary opened this issue Oct 24, 2024 · 0 comments
Labels
bug Issue was opened via the bug report template.

Comments

@AvishakeAdhikary
Copy link

Link to the code that reproduces this issue

https://github.com/AvishakeAdhikary/blog

To Reproduce

  1. Upgrade to Next.js 15.0.1.
  2. Run npm run dev in the project directory.
  3. Observe the error regarding the favicon processing.

Current vs. Expected behavior

  • Current Behavior:
    When running the development server, the following error occurs:
    ⨯ ./app/favicon.ico
    Processing image failed
    unable to decode image data
    
    Caused by:
    - Format error decoding Ico: The PNG is not in RGBA format!
    

Screenshot 2024-10-25 004235

  • Expected Behavior:
    The favicon should load without errors, allowing the application to start correctly.

Provide environment information

Operating System:
  Platform: Windows
  Arch: x64
  Version: Windows 11

Binaries:
  Node: v20.13.1
  npm: 10.9.0

Relevant Packages:
  next: 15.0.1
  eslint-config-next: 15.0.1
  react: 19.0.0-rc-69d4b800-20241021
  react-dom: 19.0.0-rc-69d4b800-20241021
  typescript: ^5

Next.js Config:
{
    images: {
      domains: ['raw.githubusercontent.com'],
    },
}

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

Not sure

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

next dev (local)

Additional context

  • This issue occurs locally during development.
  • The favicon is expected to be in PNG format, but it seems to be causing format errors.
  • I have attempted to clear the browser cache, but the issue persists.
@AvishakeAdhikary AvishakeAdhikary added the bug Issue was opened via the bug report template. label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue was opened via the bug report template.
Projects
None yet
Development

No branches or pull requests

1 participant