codesandbox / codesandbox/codesandbox-client

Can not create sandbox with Github Account.

Open
#6,565 0 comments 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?

I can not create any sandbox with my Github account. However, I can create sandbox with another account(Google).

Link to sandbox: [link]() (optional)
Crash Details
Environment
Browser Version Operating System CodeSandbox Version
chrome 99.0.4844 OS X 10.15.7 68c664d6a

Route:
https://codesandbox.io/dashboard/home?workspace=a76f92a4-d461-4dfa-a52e-6d13b1369fa3

Error Code:
5307a283c20545778561ebdd1a3faf26

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.27f22cef3.chunk.js:378:343)
  at https://codesandbox.io/static/js/app.eb1bbc8d7.js:79:376983
  at Array.map (<anonymous>)
  at https://codesandbox.io/static/js/app.eb1bbc8d7.js:79:376634
  at Array.map (<anonymous>)
  at $e (https://codesandbox.io/static/js/app.eb1bbc8d7.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 $n
  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

Reproduce the crash from the dashboard route using a GitHub account, then compare it with sandbox creation through a Google account. Start from the client-side getSandboxName stack entry and verify that creating or listing a GitHub sandbox no longer triggers the null-destructuring error.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, javascript, react
Domain
authentication, frontend
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.