learningequality / learningequality/studio

SyntaxError: Unexpected token )

Open
#2,873 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P2 - normal TAG: tech update / debt
Dominant language
Python
Stars
191
Forks
307
Avg merge
5d 6h
Merged PRs (30d)
10

Description

I can no longer find the traceback in Sentry, but this appears to be an issue with the webpack JSONP loader bootstrap somehow creating a Syntax Error, but it only seems to affect Chrome 84 in Windows 10, not reported on any other platforms.

May be highly specific to one user and something else is causing this.

Sentry Issue: STUDIO-E1Q

SyntaxError: Unexpected token )
  at None (accounts-78633fbe7f3a75f65980.js:1:1)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Sentry issue and the generated accounts-78633fbe7f3a75f65980.js bundle, focusing on the webpack JSONP loader bootstrap and the reported Chrome 84 on Windows 10 context. Done means identifying whether the bootstrap can produce the reported SyntaxError and documenting or addressing a reproducible cause.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, webpack
Domain
build-system, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.