codesandbox / codesandbox/codesandbox-client

Crash when I tried to move sandboxes to a subfolder

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

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 104.0.0 Windows 10 7b0b656ae

Route:
https://codesandbox.io/dashboard/drafts?workspace=22de0191-6b9c-43fe-9b63-25ded4735615

Error Code:
01be2da48e2a4867b28201047b6e11e6

Error Message
TypeError: Cannot read properties of undefined (reading 'type')
TypeError: Cannot read properties of undefined (reading 'type')
  at https://codesandbox.io/static/js/app.dee80d0b6.js:253:285373
  at Array.filter (<anonymous>)
  at wm (https://codesandbox.io/static/js/app.dee80d0b6.js:253:285334)
  at ua (https://codesandbox.io/static/js/common.d909eae2e.chunk.js:1:1789558)
  at xs (https://codesandbox.io/static/js/common.d909eae2e.chunk.js:1:1834821)
  at ml (https://codesandbox.io/static/js/common.d909eae2e.chunk.js:1:1820397)
  at hl (https://codesandbox.io/static/js/common.d909eae2e.chunk.js:1:1820322)
  at il (https://codesandbox.io/static/js/common.d909eae2e.chunk.js:1:1817650)
  at https://codesandbox.io/static/js/common.d909eae2e.chunk.js:1:1775833
  at t.unstable_runWithPriority (https://codesandbox.io/static/js/common.d909eae2e.chunk.js:1:1851169)

  in wm
  in Am
  in Gm
  in _b
  in t
  in t
  in div
  in Content___StyledElement
  in Unknown
  in withRouter()
  in main
  in Dashboard___StyledElement2
  in div
  in Dashboard___StyledStack2
  in div
  in Dashboard___StyledStack
  in Unknown
  in De
  in Unknown
  in XC
  in t
  in t
  in div
  in elements__Content
  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 with the dashboard route https://codesandbox.io/dashboard/drafts and the reported error code 01be2da48e2a4867b28201047b6e11e6. Reproduce moving sandboxes into a subfolder in Chrome 104 on Windows 10, then use the TypeError stack trace from app.dee80d0b6.js and common.d909eae2e.chunk.js to locate the failing dashboard path. Done means the move no longer crashes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
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.