codesandbox / codesandbox/codesandbox-client

crash

Open
#7,552 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 111.0.0 Windows 10 8051314f7

Route:
https://codesandbox.io/s/fpl-gg62h1

Error Message
TypeError: Cannot read properties of undefined (reading 'path')
TypeError: Cannot read properties of undefined (reading 'path')
  at l.getEntries (https://codesandbox.io/static/js/default~app~embed~sandbox.2845a40f4.chunk.js:1:14765)
  at Be (https://codesandbox.io/static/js/app.02b385464.js:9:1095768)
  at a.cb (https://codesandbox.io/static/js/app.02b385464.js:9:1434196)
  at a.runScope (https://codesandbox.io/static/js/vendors~app.cc097fe24.chunk.js:1:1256016)
  at a.evaluate (https://codesandbox.io/static/js/vendors~app.cc097fe24.chunk.js:1:1256455)
  at Object.onGetFunction (https://codesandbox.io/static/js/vendors~app.cc097fe24.chunk.js:1:1246090)
  at Object.get (https://codesandbox.io/static/js/vendors~app.cc097fe24.chunk.js:1:1361905)
  at Om (https://codesandbox.io/static/js/app.02b385464.js:9:1912871)
  at ua (https://codesandbox.io/static/js/common.bf7d829fe.chunk.js:1:1791262)
  at xs (https://codesandbox.io/static/js/common.bf7d829fe.chunk.js:1:1836344)

  in Om
  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 Zm
  in $m
  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 Ay
  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

Open the linked CodeSandbox route and try to reproduce the crash in the reported Chrome and Windows environment. Trace the minified getEntries stack entry through the Files and elements__Opener components, then verify that the undefined path error no longer occurs.

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.