codesandbox / codesandbox/codesandbox-client

falha

Open
#8,143 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 118.0.0 Windows 10 6494ed0d1

Route:
https://codesandbox.io/s/renderizacao-condicional-template-vy44jn?file=/src/components/TelaCadastro/styled.js

Error Code:
997ad5dd5b8647e5a133d70af2ce8832

Error Message
NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
Error: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
  at ys (https://codesandbox.io/static/js/common.abdff9f55.chunk.js:1:1869536)
  at ms (https://codesandbox.io/static/js/common.abdff9f55.chunk.js:1:1867550)
  at ys (https://codesandbox.io/static/js/common.abdff9f55.chunk.js:1:1869273)
  at yl (https://codesandbox.io/static/js/common.abdff9f55.chunk.js:1:1888474)
  at t.unstable_runWithPriority (https://codesandbox.io/static/js/common.abdff9f55.chunk.js:1:1909948)
  at qo (https://codesandbox.io/static/js/common.abdff9f55.chunk.js:1:1834675)
  at bl (https://codesandbox.io/static/js/common.abdff9f55.chunk.js:1:1886361)
  at il (https://codesandbox.io/static/js/common.abdff9f55.chunk.js:1:1876723)
  at https://codesandbox.io/static/js/common.abdff9f55.chunk.js:1:1834966
  at t.unstable_runWithPriority (https://codesandbox.io/static/js/common.abdff9f55.chunk.js:1:1909948)
  at qo (https://codesandbox.io/static/js/common.abdff9f55.chunk.js:1:1834675)
  at $o (https://codesandbox.io/static/js/common.abdff9f55.chunk.js:1:1834911)
  at Yo (https://codesandbox.io/static/js/common.abdff9f55.chunk.js:1:1834846)
  at el (https://codesandbox.io/static/js/common.abdff9f55.chunk.js:1:1873313)
  at ka (https://codesandbox.io/static/js/common.abdff9f55.chunk.js:1:1852222)
  at https://codesandbox.io/static/js/vendors~app.955a4dd41.chunk.js:1:1263529
  at e.callback (https://codesandbox.io/static/js/vendors~app.955a4dd41.chunk.js:1:1390187)
  at m.flush (https://codesandbox.io/static/js/vendors~app.955a4dd41.chunk.js:1:1393062)
  at p.flush (https://codesandbox.io/static/js/vendors~app.955a4dd41.chunk.js:1:1389241)
  at Object.cb (https://codesandbox.io/static/js/vendors~app.955a4dd41.chunk.js:1:1270204)
  at e.emit (https://codesandbox.io/static/js/vendors~app.955a4dd41.chunk.js:1:514935)
  at https://codesandbox.io/static/js/vendors~app.955a4dd41.chunk.js:1:1274126
  at Proxy.<anonymous> (https://codesandbox.io/static/js/vendors~app.955a4dd41.chunk.js:1:1272640)
  at https://codesandbox.io/static/js/app.2f5836548.js:9:1092560
  at Generator.next (<anonymous>)
  at r (https://codesandbox.io/static/js/common-sandbox.6da94a79c.chunk.js:1:606)
  at a (https://codesandbox.io/static/js/common-sandbox.6da94a79c.chunk.js:1:817)
  at https://codesandbox.io/static/js/common-sandbox.6da94a79c.chunk.js:1:876
  at new Promise (<anonymous>)
  at https://codesandbox.io/static/js/common-sandbox.6da94a79c.chunk.js:1:757
  at https://codesandbox.io/static/js/app.2f5836548.js:9:1093063
  at https://codesandbox.io/static/js/vendors~app.955a4dd41.chunk.js:1:1274076
  at Proxy.<anonymous> (https://codesandbox.io/static/js/vendors~app.955a4dd41.chunk.js:1:1272640)
  at https://codesandbox.io/static/js/app.2f5836548.js:9:1092289
  at Generator.next (<anonymous>)
  at r (https://codesandbox.io/static/js/common-sandbox.6da94a79c.chunk.js:1:606)
  at a (https://codesandbox.io/static/js/common-sandbox.6da94a79c.chunk.js:1:817)
  at https://codesandbox.io/static/js/common-sandbox.6da94a79c.chunk.js:1:876
  at new Promise (<anonymous>)
  at https://codesandbox.io/static/js/common-sandbox.6da94a79c.chunk.js:1:757
  at https://codesandbox.io/static/js/app.2f5836548.js:9:1092430
  at https://codesandbox.io/static/js/vendors~app.955a4dd41.chunk.js:1:1274076
  at Proxy.<anonymous> (https://codesandbox.io/static/js/vendors~app.955a4dd41.chunk.js:1:1272640)
  at https://codesandbox.io/static/js/app.2f5836548.js:9:1105684
  at Generator.next (<anonymous>)
  at r (https://codesandbox.io/static/js/common-sandbox.6da94a79c.chunk.js:1:606)
  at a (https://codesandbox.io/static/js/common-sandbox.6da94a79c.chunk.js:1:817)
  at https://codesandbox.io/static/js/common-sandbox.6da94a79c.chunk.js:1:876
  at new Promise (<anonymous>)
  at https://codesandbox.io/static/js/common-sandbox.6da94a79c.chunk.js:1:757

  in div
  in div
  in styled.div
  in div
  in elements__Container
  in Ie
  in cy
  in Unknown
  in Unknown
  in t
  in t
  in div
  in elements__Content
  in De
  in withRouter(De)
  in div
  in elements__Container
  in Unknown
  in withRouter()
  in t
  in Unknown
  in Ie
  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 and inspect src/components/TelaCadastro/styled.js, starting by reproducing the conditional-rendering crash in Chrome. Trace the NotFoundError involving removeChild and verify the sandbox no longer crashes in the reported scenario.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.