codesandbox / codesandbox/codesandbox-client

carsh

Open
#8,681 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
13.6k
Forks
2.4k
Avg merge
6d 19h
Merged PRs (30d)
2

Description

💥 Crash Report

What were you trying to accomplish when the crash occurred?

Log in with Github

Link to sandbox: [link]() (optional)
Crash Details
Environment
Browser Version Operating System CodeSandbox Version
firefox 133.0.0 Windows 10 002fbc975

Route:
https://codesandbox.io/dashboard/recent

Error Code:
df9771ad2b004e50804dd047af1f85c1

Error Message
TypeError: a.userAuthorizations.find(...) is undefined
./src/app/overmind/index.ts/Nc.activeWorkspaceAuthorization<@https://codesandbox.io/static/js/app.45cc33b63.js:1:933884
runScope@https://codesandbox.io/static/js/vendors~app.0f355fe82.chunk.js:1:992740
evaluate@https://codesandbox.io/static/js/vendors~app.0f355fe82.chunk.js:1:993179
onGetFunction@https://codesandbox.io/static/js/vendors~app.0f355fe82.chunk.js:1:982736
get@https://codesandbox.io/static/js/vendors~app.0f355fe82.chunk.js:1:1024413
./src/app/index.js/Su<@https://codesandbox.io/static/js/app.45cc33b63.js:1:632926
la@https://codesandbox.io/static/js/common.85d204171.chunk.js:1:369497
Ka@https://codesandbox.io/static/js/common.85d204171.chunk.js:1:377719
qa@https://codesandbox.io/static/js/common.85d204171.chunk.js:1:377538
ku@https://codesandbox.io/static/js/common.85d204171.chunk.js:1:418035
vs@https://codesandbox.io/static/js/common.85d204171.chunk.js:1:400185
ps@https://codesandbox.io/static/js/common.85d204171.chunk.js:1:400108
is@https://codesandbox.io/static/js/common.85d204171.chunk.js:1:397456
../../node_modules/react-dom/cjs/react-dom.production.min.js/Go/<@https://codesandbox.io/static/js/common.85d204171.chunk.js:1:355898
../../node_modules/react-dom/node_modules/scheduler/cjs/scheduler.production.min.js/t.unstable_runWithPriority@https://codesandbox.io/static/js/common.85d204171.chunk.js:1:430880
qo@https://codesandbox.io/static/js/common.85d204171.chunk.js:1:355607
Go@https://codesandbox.io/static/js/common.85d204171.chunk.js:1:355845
Yo@https://codesandbox.io/static/js/common.85d204171.chunk.js:1:355778
es@https://codesandbox.io/static/js/common.85d204171.chunk.js:1:394245
xa@https://codesandbox.io/static/js/common.85d204171.chunk.js:1:373156
../../node_modules/overmind-react/es/index.js/</h/<@https://codesandbox.io/static/js/vendors~app.0f355fe82.chunk.js:1:974926
../../node_modules/proxy-state-tree/es/index.js/track/this.callback@https://codesandbox.io/static/js/vendors~app.0f355fe82.chunk.js:1:1027369
flush@https://codesandbox.io/static/js/vendors~app.0f355fe82.chunk.js:1:1030041
flush@https://codesandbox.io/static/js/vendors~app.0f355fe82.chunk.js:1:1026423
../../node_modules/overmind/es/Overmind.js/</h/<@https://codesandbox.io/static/js/vendors~app.0f355fe82.chunk.js:1:981601
../../node_modules/betsy/es/index.js/e.prototype.emit@https://codesandbox.io/static/js/vendors~app.0f355fe82.chunk.js:1:364041
../../node_modules/overmind/es/Overmind.js/</createAction/<@https://codesandbox.io/static/js/vendors~app.0f355fe82.chunk.js:1:985523
../../node_modules/overmind/es/Overmind.js/</createContext/<.actions</<@https://codesandbox.io/static/js/vendors~app.0f355fe82.chunk.js:1:984038
./src/app/overmind/index.ts/e<@https://codesandbox.io/static/js/app.45cc33b63.js:1:799144
r@https://codesandbox.io/static/js/common-sandbox.4915834c1.chunk.js:1:606
a@https://codesandbox.io/static/js/common-sandbox.4915834c1.chunk.js:1:818
../../node_modules/@babel/runtime/helpers/asyncToGenerator.js/e.exports/</<@https://codesandbox.io/static/js/common-sandbox.4915834c1.chunk.js:1:877
../../node_modules/@babel/runtime/helpers/asyncToGenerator.js/e.exports/<@https://codesandbox.io/static/js/common-sandbox.4915834c1.chunk.js:1:757
./src/app/overmind/index.ts/ee@https://codesandbox.io/static/js/app.45cc33b63.js:1:799525
../../node_modules/overmind/es/Overmind.js/</createAction/<@https://codesandbox.io/static/js/vendors~app.0f355fe82.chunk.js:1:985474
../../node_modules/overmind/es/Overmind.js/</createContext/<.actions</<@https://codesandbox.io/static/js/vendors~app.0f355fe82.chunk.js:1:984038
./src/app/overmind/index.ts/e<@https://codesandbox.io/static/js/app.45cc33b63.js:1:799895
r@https://codesandbox.io/static/js/common-sandbox.4915834c1.chunk.js:1:606
a@https://codesandbox.io/static/js/common-sandbox.4915834c1.chunk.js:1:818


  in Unknown
  in div
  in Dashboard___StyledStack
  in Unknown
  in De
  in Unknown
  in Fh
  in t
  in t
  in div
  in elements__Content
  in Ne
  in withRouter(Ne)
  in div
  in elements__Container
  in Unknown
  in withRouter()
  in t
  in Unknown
  in De
  in c
  in t

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 at src/app/overmind/index.ts, particularly activeWorkspaceAuthorization, and reproduce the GitHub login flow before checking the /dashboard/recent route. Use the reported TypeError and error code df9771ad2b004e50804dd047af1f85c1 as references; done means the dashboard no longer crashes after login.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.