Users reported a bug where viewing user cards for individuals with a current cakeday resulted in a white screen and a console error: Uncaught Error: Could not find module discourse/helpers/fa-icon. watchmanmonitor first encountered the issue in Chrome and Safari, noting it occurred when clicking on profiles with active anniversaries. craigduarte confirmed the error on a Mac across multiple browsers and hypothesized that the fa-icon helper had moved to discourse-common, making the import path incorrect. cpradio provided reproducible steps on Meta using Chrome, demonstrating that clicking a user card with a September 24th anniversary failed to load the card. Mittineague verified the error on Windows 10. While watchmanmonitor later noted the issue seemed resolved on Meta, FoodDelivery reported a related issue where upcoming birthday dates were displaying as past dates on The Hopscotch Forum. cpradio identified a specific commit in the discourse-cakeday plugin as the fix for the module import error. tgxworld confirmed the primary bug discussed in the thread was resolved and moved tracking of the remaining date display issue to a separate topic.
I’ve been getting the exact same error, http://www.onlinearsenal.com/cakeday/birthdays when clicking on either avatar, on a mac, happening in Safari, Chrome, Firefox, logged in or logged out.
It’s happening on the user preferences/messages screen too, completely wiping the content of the page out once I’ve set the birthday (though it may just be because the birthday is today? - edit: just got someone else to check and they can access their messages/preferences when their birthday is set NOT to today).
I don’t know much about the discourse core and how it reads files so forgive my ignorance, but I’d guess from that error message and this commit that discourse/helpers/fa-icons has moved to discourse-common so the path may be wrong?
Thanks, I was able to reproduce the error with Windows 10 Vivaldi latest following those steps.
function requireFrom(name, origin) {
var mod = registry[name];
if (!mod) {
throw new Error('Could not find module `' + name + '` imported from `' + origin + '`');
}
return require(name);
}