+ 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]

FirefoxErrorChromeWorking
SandhyaSandhya (Salesforce Developers) 
Hi,

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

Also refer below link.

https://help.salesforce.com/articleView?id=Enabling-Lightning-Experience-user-might-notice-the-error-This-page-has-an-error-You-might-just-need-to-refresh-it&language=en_US&type=1

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

Best Regards,
Sandhya
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.
Chris
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]
n()@https://domain.lightning.force.com/auraFW/javascript/1bO4dJePbDnoI-_VdhdsEQ/aura_prod.js:4:277
a()@https://domain.lightning.force.com/auraFW/javascript/1bO4dJePbDnoI-_VdhdsEQ/aura_prod.js:4:403
get/<()@https://domain.lightning.force.com/auraFW/javascript/1bO4dJePbDnoI-_VdhdsEQ/aura_prod.js:24:77433
{anonymous}()@https://domain.lightning.force.com/resource/leaflet/leaflet.js:17:25431
{anonymous}()@https://domain.lightning.force.com/resource/leaflet/leaflet.js:17:140
{anonymous}()@https://domain.lightning.force.com/resource/leaflet/leaflet.js:17:2
{anonymous}()@https://domain.lightning.force.com/resource/leaflet/leaflet.js:11:2
{anonymous}()@https://domain.lightning.force.com/resource/leaflet/leaflet.js:7:17

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.