codesandbox / codesandbox/codesandbox-client

Cannot create new template

Open
#6,688 1 comment 1 reaction 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?

Create a new Template. I had no previous templates and clicked on Start with a template link.

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

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

Error Code:
5c6eb41c24b045c7a5248ba95770c933

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 https://codesandbox.io/static/js/default~app~embed.1bfb5d822.chunk.js?_sw-precache=fe47cfe4cb89e987fcde0cfbd98eb885:378:343
  at https://codesandbox.io/static/js/app.758ddc682.js?_sw-precache=dc769125394a4256f3ede57f58b83d75:66:377569
  at Array.map (<anonymous>)
  at https://codesandbox.io/static/js/app.758ddc682.js?_sw-precache=dc769125394a4256f3ede57f58b83d75:66:377220
  at Array.map (<anonymous>)
  at $e (https://codesandbox.io/static/js/app.758ddc682.js?_sw-precache=dc769125394a4256f3ede57f58b83d75:66:376956)
  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

Start at the /dashboard/templates route and reproduce the crash by choosing “Start with a template” with no existing templates. Use the reported TypeError, error code 5c6eb41c24b045c7a5248ba95770c933, and stack trace to locate the corresponding source; done means creating a new template no longer crashes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.