Page MenuHomePhabricator

Get 'module not found: toast' error in alpha mode on mobile
Closed, ResolvedPublic


On my local instance (latest master) in alpha mode, I get the JS error 'module not found: toast' when I load any page. Can't seem to reproduce on beta labs though. Also can't reproduce with debug=true.

Event Timeline

kaldari raised the priority of this task from to Needs Triage.
kaldari updated the task description. (Show Details)
kaldari added a project: Readers-Web-Backlog.
kaldari added a subscriber: kaldari.
kaldari set Security to None.

Looks like this was caused by Specifically resources/mobile.startup/panel.less (strangely).

I have no idea why resources/mobile.startup/panel.less seems to be triggering this error, but adding mobile.toast as a dependency to the mobile.editor.common module seems to fix it.

Change 209552 had a related patch set uploaded (by Kaldari):
Fix 'module not found: toast' error in alpha

Change 209552 merged by jenkins-bot:
Fix 'module not found: toast' error in alpha

This error is happening on enwiki, so you can't bring up the mobile menu . E.g. visit and click the top bar You can't bring up the menu to choose Settings to uncheck experimental mode :(

The workaround is to change the browser URL to .../wiki/Special:MobileOptions and uncheck Experimental mode.

I think the fix will roll out to enwiki tomorrow.