Uniswap / Uniswap/interface

Crash report: `ChunkLoadError: Loading chunk 1 failed.(missing: https://app.uniswap.org/static/js/1.1407dd6b.chunk.js)`

Open
#5,339 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5.5k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

URL

https://app.uniswap.org/#/swap

swap state

{
  "INPUT": {
    "currencyId": "ETH"
  },
  "OUTPUT": {
    "currencyId": null
  },
  "typedValue": "",
  "independentField": "INPUT",
  "recipient": null
}

Error

ChunkLoadError: Loading chunk 1 failed.
(missing: https://app.uniswap.org/static/js/1.1407dd6b.chunk.js)

Stacktrace

@https://app.uniswap.org/#/swap:1:6270
@https://app.uniswap.org/static/js/main.9fb338a3.chunk.js:1:210136
I@https://app.uniswap.org/static/js/4.692cb341.chunk.js:2:3616838
As@https://app.uniswap.org/static/js/4.692cb341.chunk.js:2:3849007
gu@https://app.uniswap.org/static/js/4.692cb341.chunk.js:2:3837471
vu@https://app.uniswap.org/static/js/4.692cb341.chunk.js:2:3837399
mu@https://app.uniswap.org/static/js/4.692cb341.chunk.js:2:3837262
iu@https://app.uniswap.org/static/js/4.692cb341.chunk.js:2:3832366
iu@[native code]
O@https://app.uniswap.org/static/js/4.692cb341.chunk.js:2:3859172
C@https://app.uniswap.org/static/js/4.692cb341.chunk.js:2:3859706
@https://app.uniswap.org/static/js/4.692cb341.chunk.js:2:2744295
c@https://app.uniswap.org/static/js/4.692cb341.chunk.js:2:2744409
n@https://app.uniswap.org/static/js/4.692cb341.chunk.js:2:2743355

Device data

{
  "ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 16_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Mobile/15E148 Safari/604.1",
  "browser": {
    "name": "Mobile Safari",
    "version": "16.1",
    "major": "16"
  },
  "engine": {
    "name": "WebKit",
    "version": "605.1.15"
  },
  "os": {
    "name": "iOS",
    "version": "16.1"
  },
  "device": {
    "vendor": "Apple",
    "model": "iPhone",
    "type": "mobile"
  },
  "cpu": {}
}

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 by reproducing the crash at https://app.uniswap.org/#/swap on the reported iPhone Mobile Safari setup, then inspect how the application requests the missing static/js/1.1407dd6b.chunk.js chunk. Use the supplied stacktrace and generated main chunk as the initial trail. Done means the swap page loads without this ChunkLoadError and the relevant behavior is covered by an appropriate check.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.