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

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

Open
kimutaieddy opened this issue Aug 29, 2024 · 1 comment

Comments

@kimutaieddy
Copy link

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.

@nelsonic
Copy link
Member

Thank you for reporting this. 👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants