Skip to content

Compilation error due to undefined function complete/1 in AppWeb.ItemHTML. #189

@kimutaieddy

Description

@kimutaieddy

I'm encountering a compilation error when running the project. The error message is as follows:

error: undefined function complete/1 (expected AppWeb.ItemHTML to define such a function or for it to be imported, but none are available)%E2%94%8238 %E2%94%82 <li data-id={item.id} class={complete(item)}>%E2%94%82 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^%E2%94%94%E2%94%80 lib/app_web/controllers/item_html/index.html.heex:38: AppWeb.ItemHTML.index/1

The error suggests that the complete/1 function is missing from the AppWeb.ItemHTML module, which is being called in the index.html.heex template file.

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