Jump to content

[Solved] Javascript Error when opening Match setup page.


wowgetoffyourcellphone
 Share

Recommended Posts

ERROR: JavaScript error: gui/gamesetup/Pages/MapBrowserPage/GridBrowser.js line 1 redeclaration of let GridBrowser @gui/gamesetup/Pages/MapBrowserPage/GridBrowser.js:1:1 onPress@gui/pregame/MainMenuItems.js:64:13 performButtonAction@gui/pregame/MainMenuItemHandler.js:77:9 pressButton@gui/pregame/MainMenuItemHandler.js:63:10

ERROR: JavaScript error: gui/gamesetup/Pages/MapBrowserPage/GridBrowserItem.js line 1 redeclaration of let GridBrowserItem @gui/gamesetup/Pages/MapBrowserPage/GridBrowserItem.js:1:1 onPress@gui/pregame/MainMenuItems.js:64:13 performButtonAction@gui/pregame/MainMenuItemHandler.js:77:9 pressButton@gui/pregame/MainMenuItemHandler.js:63:10

ERROR: JavaScript error: gui/gamesetup/Pages/MapBrowserPage/MatchSort.js line 1 redeclaration of const MatchSort @gui/gamesetup/Pages/MapBrowserPage/MatchSort.js:1:1 onPress@gui/pregame/MainMenuItems.js:64:13 performButtonAction@gui/pregame/MainMenuItemHandler.js:77:9 pressButton@gui/pregame/MainMenuItemHandler.js:63:10

Edited by wowgetoffyourcellphone
  • Like 1
Link to comment
Share on other sites

12 hours ago, wraitii said:

I'm assuming using DE? 

I moved the grid-browser files from gamesetup to maps/, so you probably have duplicate files now. I think you can just check the diff, let me know if you have trouble.

I turned off DE and I get the same error codes with vanilla. It was the first thing I tried. 2nd thing I tried was reverting all versioned files in the public mod. Still errors. I'll delete cache next and report back. 

Link to comment
Share on other sites

11 hours ago, wowgetoffyourcellphone said:

I turned off DE and I get the same error codes with vanilla. It was the first thing I tried. 2nd thing I tried was reverting all versioned files in the public mod. Still errors. I'll delete cache next and report back. 

There is no "gui/gamesetup/Pages/MapBrowserPage/GridBrowser.js" file in the public mod, so there must be something going wrong. Could be the cache.

Link to comment
Share on other sites

K, this is starting to make no sense :P

Can you confirm that you've checked:

- Your binaries/data/mods folders don't contain the mentioned files (if you're using git, they might be there but not noticed)

- Your user mod folders don't contain the mentioned files

- The mods you've activated (possibly start with the command line 'mod=public')

- You've cleared the cache after checking the above

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...