Page MenuHomePhabricator

ReferenceError: require is not defined
Closed, ResolvedPublic

Description

  1. Go to https://marvin.wmflabs.org/wiki/Screaming_Life/Fopp in Chromium or Firefox
  2. Tap the infobox image
  3. Press back

The following error is emitted spuriously and CPU usage spikes to 100%:

manifest.ts:8 Uncaught (in promise) ReferenceError: require is not defined
    at Object.GmQp (manifest.ts:8)
    at n (bootstrap 3116f9f28a81a0d5b0a7:54)
    at Object.9zNT (wordmark.tsx:6)
    at n (bootstrap 3116f9f28a81a0d5b0a7:54)
    at Object.2HRO (header.tsx:18)
    at n (bootstrap 3116f9f28a81a0d5b0a7:54)
    at Object.QPYD (app.tsx:10)
    at n (bootstrap 3116f9f28a81a0d5b0a7:54)
    at Object.Z2n+ (wiki.cfefd780b9e4d2e973e4.js:1)
    at n (bootstrap 3116f9f28a81a0d5b0a7:54)
GmQp @ manifest.ts:8
n @ bootstrap 3116f9f28a81a0d5b0a7:54
9zNT @ wordmark.tsx:6
n @ bootstrap 3116f9f28a81a0d5b0a7:54
2HRO @ header.tsx:18
n @ bootstrap 3116f9f28a81a0d5b0a7:54
QPYD @ app.tsx:10
n @ bootstrap 3116f9f28a81a0d5b0a7:54
Z2n+ @ wiki.cfefd780b9e4d2e973e4.js:1
n @ bootstrap 3116f9f28a81a0d5b0a7:54
Promise rejected (async)
O @ index.tsx:34
pVwq @ index.tsx:42
n @ bootstrap 3116f9f28a81a0d5b0a7:54
window.webpackJsonp @ bootstrap 3116f9f28a81a0d5b0a7:25
(anonymous) @ index.96409dfc2f3b6f5ceef2.js:1
DevTools failed to parse SourceMap: https://marvin.wmflabs.org/public/pages/wiki.cfefd780b9e4d2e973e4.js.map

I've also seen it just by visiting https://marvin.wmflabs.org/wiki/Echo_of_Miles:_Scattered_Tracks_Across_the_Path:

index.96409dfc2f3b6f5ceef2.js:1 Uncaught (in promise) ReferenceError: require is not defined
    at Object.GmQp (index.96409dfc2f3b6f5ceef2.js:1)
    at n (runtime.378f37dd2e94d07b5722.js:1)
    at Object.9zNT (index.96409dfc2f3b6f5ceef2.js:1)
    at n (runtime.378f37dd2e94d07b5722.js:1)
    at Object.2HRO (index.96409dfc2f3b6f5ceef2.js:1)
    at n (runtime.378f37dd2e94d07b5722.js:1)
    at Object.QPYD (index.96409dfc2f3b6f5ceef2.js:1)
    at n (runtime.378f37dd2e94d07b5722.js:1)
    at Object.Z2n+ (wiki.cfefd780b9e4d2e973e4.js:1)
    at n (runtime.378f37dd2e94d07b5722.js:1)

Event Timeline

Niedzielski created this task.

Change 392429 had a related patch set uploaded (by Niedzielski; owner: Sniedzielski):
[marvin@master] Fix: don't reference the manifest in the client

https://gerrit.wikimedia.org/r/392429

Change 392429 merged by jenkins-bot:
[marvin@master] Fix: don't reference the manifest in the client

https://gerrit.wikimedia.org/r/392429

This appears to be fixed now.