Crash report: `Error: Invariant failed`
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.5k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
URL
Error
Error: Invariant failed
Stacktrace
Error: Invariant failed
at i (https://app.yewbow.org/static/js/35.d1d2ac6a.chunk.js:2:148397)
at n.sortsBefore (https://app.yewbow.org/static/js/35.d1d2ac6a.chunk.js:2:83127)
at https://app.yewbow.org/static/js/main.e9aa1917.chunk.js:1:66097
at Array.map (<anonymous>)
at https://app.yewbow.org/static/js/main.e9aa1917.chunk.js:1:65879
at Object.Aa [as useMemo] (https://app.yewbow.org/static/js/35.d1d2ac6a.chunk.js:2:1727321)
at t.useMemo (https://app.yewbow.org/static/js/35.d1d2ac6a.chunk.js:2:1662329)
at sa (https://app.yewbow.org/static/js/main.e9aa1917.chunk.js:1:65857)
at https://app.yewbow.org/static/js/main.e9aa1917.chunk.js:1:68035
at ba (https://app.yewbow.org/static/js/main.e9aa1917.chunk.js:1:68552)
Device data
{
"ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36",
"browser": {
"name": "Chrome",
"version": "105.0.0.0",
"major": "105"
},
"engine": {
"name": "Blink",
"version": "105.0.0.0"
},
"os": {
"name": "Mac OS",
"version": "10.15.7"
},
"device": {},
"cpu": {}
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the crash at https://app.yewbow.org/#/pool using the reported browser details, then trace the minified stack from sortsBefore into the application bundle. Identify the input that triggers the invariant and verify that the pool view no longer crashes with that input.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100