Skip to content

Bug: Missing favicon.ico in default template causes runtime resource error #415

@Samridhi-2007

Description

@Samridhi-2007

Bug Description

When creating a new Neutralinojs application using the CLI:
neu create
cd
neu run

the application logs the following error during runtime:
Unable to load application resource file /resources/favicon.ico

Expected Behavior

A newly created project should not produce resource-related error logs by default, especially for optional assets like favicon.ico.

Actual Behavior

The generated project does not include a favicon.ico file inside the resources/ directory, which results in error messages being shown during runtime.

Root Cause

The default template (neutralinojs/neutralinojs-minimal) does not include a favicon.ico file.

Suggested Improvement

  • Either include a default favicon.ico in the template
    OR
  • Provide a clear warning during project creation indicating that the file is optional but recommended

Environment

  • OS: Windows
  • CLI Version: (run neu version)
  • Node.js Version: (run node -v)

Additional Context

This may be confusing for beginners who might interpret this as a critical runtime error.
I’d be happy to work on a fix for this issue .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions