codesandbox / codesandbox/codesandbox-client

can't make code

Open
#6,468 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?

Please use this issue template to describe what you were doing when you encountered this crash. While we are able to fill in some details automatically, it's not always enough to reproduce!

Link to sandbox: [link]() (optional)
Crash Details
Environment
Browser Version Operating System CodeSandbox Version
chrome 98.0.4758 OS X 10.15.7 1ca347c42

Route:
https://codesandbox.io/dashboard/home?workspace=2691a3e8-e027-4737-959c-d268354ca212

Error Code:
a3c1b81690e94a9eb30bf44bc42c0ecc

Error Message
TypeError: Cannot destructure property 'alias' of 'object null' as it is null.
TypeError: Cannot destructure property 'alias' of 'object null' as it is null.
  at t.getSandboxName (https://codesandbox.io/static/js/default~app~embed.ef8872586.chunk.js:378:343)
  at https://codesandbox.io/static/js/app.9230cadad.js:79:376983
  at Array.map (<anonymous>)
  at https://codesandbox.io/static/js/app.9230cadad.js:79:376634
  at Array.map (<anonymous>)
  at $e (https://codesandbox.io/static/js/app.9230cadad.js:79:376370)
  at ua (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1789558)
  at xs (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1834821)
  at ml (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1820397)
  at hl (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1820322)
  at il (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1817650)
  at https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1775833
  at t.unstable_runWithPriority (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1851169)
  at qo (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1775542)
  at Xo (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1775778)
  at Yo (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1775713)
  at se (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1844921)
  at Sn (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1759339)

  in $e
  in t
  in Ye
  in Je
  in div
  in span
  in styled.span
  in span
  in styled.span
  in div
  in n
  in Styled(n)
  in Unknown
  in st
  in div
  in ForwardRef(p)
  in ForwardRef(p)
  in elements__TabContent
  in div
  in elements__Container
  in De
  in Unknown
  in Vn
  in div
  in div
  in div
  in div
  in t
  in t
  in Modal___StyledModal
  in n
  in De
  in Unknown
  in Y
  in n
  in withRouter(n)
  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 by reproducing the crash from the CodeSandbox dashboard route and inspect the bundled stack around getSandboxName in defaultappembed.ef8872586.chunk.js. Trace which dashboard data is null and determine the expected behavior when it lacks an alias. Done means the dashboard no longer crashes in that state.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.