codesandbox / codesandbox/codesandbox-client

Getting Error while uploading

Open
#6,122 2 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: [https://codesandbox.io/s/fancy-frog-j391u]() (optional)
Crash Details
Environment
Browser Version Operating System CodeSandbox Version
chrome 92.0.4515 Linux x86_64 df8e50121

Route:
https://codesandbox.io/s/white-cookies-cwqb0

Error Code:
600b1b942c42464fa90fbb37a4492371

Error Message
TypeError: Cannot read property 'id' of undefined
TypeError: Cannot read property 'id' of undefined
  at https://codesandbox.io/static/js/app.74f6a6d6e.js?_sw-precache=0b969836c1ba2b9c12918f3e6fbf1ed6:266:1335589
  at ua (https://codesandbox.io/static/js/common.9517b6661.chunk.js?_sw-precache=87f4030e32e358792d32fc24f42eb6bf:1:1787440)
  at Ka (https://codesandbox.io/static/js/common.9517b6661.chunk.js?_sw-precache=87f4030e32e358792d32fc24f42eb6bf:1:1795705)
  at qa (https://codesandbox.io/static/js/common.9517b6661.chunk.js?_sw-precache=87f4030e32e358792d32fc24f42eb6bf:1:1795524)
  at xs (https://codesandbox.io/static/js/common.9517b6661.chunk.js?_sw-precache=87f4030e32e358792d32fc24f42eb6bf:1:1836178)
  at ml (https://codesandbox.io/static/js/common.9517b6661.chunk.js?_sw-precache=87f4030e32e358792d32fc24f42eb6bf:1:1818279)
  at hl (https://codesandbox.io/static/js/common.9517b6661.chunk.js?_sw-precache=87f4030e32e358792d32fc24f42eb6bf:1:1818204)
  at il (https://codesandbox.io/static/js/common.9517b6661.chunk.js?_sw-precache=87f4030e32e358792d32fc24f42eb6bf:1:1815532)
  at https://codesandbox.io/static/js/common.9517b6661.chunk.js?_sw-precache=87f4030e32e358792d32fc24f42eb6bf:1:1773715
  at https://codesandbox.io/static/js/common.9517b6661.chunk.js?_sw-precache=87f4030e32e358792d32fc24f42eb6bf:1:1849051

  in Unknown
  in div
  in Sm
  in div
  in elements__Opener
  in div
  in Unknown
  in DropTarget(Component)
  in div
  in Sm
  in div
  in elements__Opener
  in div
  in Unknown
  in DropTarget(Component)
  in div
  in Sm
  in div
  in elements__Opener
  in div
  in Unknown
  in DropTarget(Component)
  in div
  in Styled(styled.div)
  in section
  in Styled(styled.div)
  in Unknown
  in Files___StyledCollapsible
  in Vm
  in Gm
  in div
  in De
  in Unknown
  in div
  in elements__Container
  in Unknown
  in WithTheme(Component)
  in div
  in t
  in div
  in t
  in div
  in div
  in styled.div
  in div
  in elements__Container
  in De
  in TC
  in Unknown
  in Unknown
  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 by reproducing the upload crash with the linked CodeSandbox and route, using the reported Chrome/Linux environment and error code. Inspect the reported app and common JavaScript bundles and the React component stack to locate the undefined value. Done means the upload flow no longer throws the reported TypeError and the reproduction is verified.

Written by the indexing model from the issue text.

Assessment

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