diff --git a/frontend/src/exporter/index.html b/frontend/src/exporter/index.html index 35a94521c2cd1..50c65841867aa 100644 --- a/frontend/src/exporter/index.html +++ b/frontend/src/exporter/index.html @@ -19,6 +19,10 @@ div.innerHTML = "You are using a really old browser. Please upgrade to fully enjoy PostHog!" document.body.prepend(div); } + if (!window.process) { + // see https://github.com/remarkjs/react-markdown/issues/339 + window.process = { cwd: () => '' }; + }