+ Start a Discussion
Chris YaskoskiChris Yaskoski 

Module does NOT work in Firefox: App Development with Salesforce DX - Build the Account Map Display

In FireFox after completing this module and running I am presented with this error:

This page has an error. You might just need to refresh it. First, would you give us some details? (We're reporting this as error ID: -2049513082)

[cannot use the given object as a weak map key]

SandhyaSandhya (Salesforce Developers) 

I would suggest you clear your browser cookies and cache and then check again.

Also refer below link.


If this helps you, please mark it as solved so that it will be availabe for others as asolution.

Best Regards,
Chris YaskoskiChris Yaskoski
Hi Sandhya,
It works in Chrome so it's not a big deal. I jsut wasted an hour checking my work when it didn't work in FireFox. I saw someone online report that they had the same problem so it doens't seem I am alone. I just wanted to report it so whoever creates the TrailHead modules can look into and correct it if needed.
Stephen Johnson 13Stephen Johnson 13
Can confirm this module still doesn't work in Firefox (60.0 64bit) but does work in Chrome. (We're reporting this as error ID: 94750499)

Error Tech stuff:
[cannot use the given object as a weak map key]

Here's a bugzilla report on a similar issue -- https://bugzilla.mozilla.org/show_bug.cgi?id=1449485
Stephen Johnson 13Stephen Johnson 13
We may want to update the module to warn people that Firefox may not work
Trevor RoyTrevor Roy
This is still a problem as of August 2018.