MEDIUM: Frontend JS errors on load — e.value.filter/find/map is not a function #98
Labels
No labels
accessibility
backlog
beta-feedback
bug
duplicate
enhancement
feature-request
help wanted
invalid
needs-design
needs-triage
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/kiwi#98
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Multiple JavaScript runtime errors occur immediately on page load, preventing correct rendering of inventory, receipts, and recipe views.
Error Messages
From browser console on
http://localhost:8515:TypeError: e.value.filter is not a function(InventoryList computed property — appears twice)Failed to load receipts: TypeError: M.map is not a function(ReceiptsView)TypeError: e.value.find is not a function(MealPlanView or RecipesView computed)Impact
Likely Root Causes
The errors suggest a reactive ref is receiving a non-array value where an array is expected. Possible sources:
undefinedor an object on first load before the API call completesInvestigation Steps