guardian / guardian/dotcom-rendering

Uncaught runtime error when running DCR locally - Safari only

Open
#11,926 2 comments 0 reactions 0 assignees View on GitHub
Rota Team Candidate: WebX
Dominant language
TypeScript
Stars
274
Forks
34
Avg merge
2d 22h
Merged PRs (30d)
121

Description

### What happened?

When running DCR locally, including the main branch, I've noticed an error which only appears in Safari. AMP pages are fine but DotCom pages all seem to throw this sooner or later.
![This screenshot](https://github.com/user-attachments/assets/ad44df48-5a68-4f92-a6a5-bf4bc26dd16d) shows the error.

### Where is this happening?

When running locally only and loading any article including the dev articles listed. Example: http://localhost:3030/Article/https://www.theguardian.com/cities/2019/sep/13/reclaimed-lakes-and-giant-airports-how-mexico-city-might-have-looked

### What is the impact?

Likely affects devs only, when testing their code against Safari. Not seen in PROD.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.