Skip to content

Vanilla JS Sandbox Crash on Initial Load #4811

@BastionFennell

Description

@BastionFennell

💥 Crash Report

What were you trying to accomplish when the crash occurred?

I was trying to make a new vanilla JS sandbox. The initial load crashed immediately, subsequent loads seemed to work fine.

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/quizzical-cori-1o6no)

Coworker with the same issue: [](https://codesandbox.io/s/vigorous-flower-cky01)

Crash Details

Environment
Browser Version Operating System CodeSandbox Version
chrome 84.0.4147 Windows 10 52a7192

Route:
https://codesandbox.io/s/serene-forest-kfgq3

Error Code:
383aa5bc6b444fdfa79753586c909f12

Error Message
TypeError: Cannot read property 'teamId' of undefined
TypeError: Cannot read property 'teamId' of undefined
  at Wn (https://codesandbox.io/static/js/app.b6049c787.js?_sw-precache=d9d212085a0a4d8512a56c0a14ae6651:306:870511)
  at ua (https://codesandbox.io/static/js/common.2ec6ed680.chunk.js?_sw-precache=59f41a455ec099cde5056c6e8bec7a07:1:1772874)
  at Es (https://codesandbox.io/static/js/common.2ec6ed680.chunk.js?_sw-precache=59f41a455ec099cde5056c6e8bec7a07:1:1818137)
  at ml (https://codesandbox.io/static/js/common.2ec6ed680.chunk.js?_sw-precache=59f41a455ec099cde5056c6e8bec7a07:1:1803713)
  at hl (https://codesandbox.io/static/js/common.2ec6ed680.chunk.js?_sw-precache=59f41a455ec099cde5056c6e8bec7a07:1:1803638)
  at il (https://codesandbox.io/static/js/common.2ec6ed680.chunk.js?_sw-precache=59f41a455ec099cde5056c6e8bec7a07:1:1800966)
  at https://codesandbox.io/static/js/common.2ec6ed680.chunk.js?_sw-precache=59f41a455ec099cde5056c6e8bec7a07:1:1759149
  at https://codesandbox.io/static/js/common.2ec6ed680.chunk.js?_sw-precache=59f41a455ec099cde5056c6e8bec7a07:1:1834485
  at qo (https://codesandbox.io/static/js/common.2ec6ed680.chunk.js?_sw-precache=59f41a455ec099cde5056c6e8bec7a07:1:1758858)
  at $o (https://codesandbox.io/static/js/common.2ec6ed680.chunk.js?_sw-precache=59f41a455ec099cde5056c6e8bec7a07:1:1759094)
  at Yo (https://codesandbox.io/static/js/common.2ec6ed680.chunk.js?_sw-precache=59f41a455ec099cde5056c6e8bec7a07:1:1759029)
  at el (https://codesandbox.io/static/js/common.2ec6ed680.chunk.js?_sw-precache=59f41a455ec099cde5056c6e8bec7a07:1:1797752)
  at Sa (https://codesandbox.io/static/js/common.2ec6ed680.chunk.js?_sw-precache=59f41a455ec099cde5056c6e8bec7a07:1:1776547)
  at https://codesandbox.io/static/js/vendors~app.8a619e6d0.chunk.js?_sw-precache=2213ea3572f634ccadff0a58c3ac202e:1:1050313
  at https://codesandbox.io/static/js/vendors~app.8a619e6d0.chunk.js?_sw-precache=2213ea3572f634ccadff0a58c3ac202e:1:1050996
  at https://codesandbox.io/static/js/vendors~app.8a619e6d0.chunk.js?_sw-precache=2213ea3572f634ccadff0a58c3ac202e:1:1172448
  at m.flush (https://codesandbox.io/static/js/vendors~app.8a619e6d0.chunk.js?_sw-precache=2213ea3572f634ccadff0a58c3ac202e:1:1175277)
  at p.flush (https://codesandbox.io/static/js/vendors~app.8a619e6d0.chunk.js?_sw-precache=2213ea3572f634ccadff0a58c3ac202e:1:1171502)
  at Object.cb (https://codesandbox.io/static/js/vendors~app.8a619e6d0.chunk.js?_sw-precache=2213ea3572f634ccadff0a58c3ac202e:1:1060110)
  at e.emit (https://codesandbox.io/static/js/vendors~app.8a619e6d0.chunk.js?_sw-precache=2213ea3572f634ccadff0a58c3ac202e:1:1053753)
  at workspace.openDefaultItem (https://codesandbox.io/static/js/vendors~app.8a619e6d0.chunk.js?_sw-precache=2213ea3572f634ccadff0a58c3ac202e:1:1062743)
  at Proxy.<anonymous> (https://codesandbox.io/static/js/vendors~app.8a619e6d0.chunk.js?_sw-precache=2213ea3572f634ccadff0a58c3ac202e:1:1061785)
  at https://codesandbox.io/static/js/app.b6049c787.js?_sw-precache=d9d212085a0a4d8512a56c0a14ae6651:306:450963
  at l (https://codesandbox.io/static/js/common-sandbox.26857ffcc.chunk.js?_sw-precache=ad9bd5b2ba107d388b6e09e35627a055:1:255733)
  at Generator._invoke (https://codesandbox.io/static/js/common-sandbox.26857ffcc.chunk.js?_sw-precache=ad9bd5b2ba107d388b6e09e35627a055:1:255486)
  at Generator.next (https://codesandbox.io/static/js/common-sandbox.26857ffcc.chunk.js?_sw-precache=ad9bd5b2ba107d388b6e09e35627a055:1:256090)
  at t (https://codesandbox.io/static/js/common-sandbox.26857ffcc.chunk.js?_sw-precache=ad9bd5b2ba107d388b6e09e35627a055:1:2405)
  at i (https://codesandbox.io/static/js/common-sandbox.26857ffcc.chunk.js?_sw-precache=ad9bd5b2ba107d388b6e09e35627a055:1:2616)
  at https://codesandbox.io/static/js/common-sandbox.26857ffcc.chunk.js?_sw-precache=ad9bd5b2ba107d388b6e09e35627a055:1:2675
  at new Promise (<anonymous>)
  at https://codesandbox.io/static/js/common-sandbox.26857ffcc.chunk.js?_sw-precache=ad9bd5b2ba107d388b6e09e35627a055:1:2556
  at https://codesandbox.io/static/js/app.b6049c787.js?_sw-precache=d9d212085a0a4d8512a56c0a14ae6651:306:451117
  at internal.setCurrentSandbox (https://codesandbox.io/static/js/vendors~app.8a619e6d0.chunk.js?_sw-precache=2213ea3572f634ccadff0a58c3ac202e:1:1062675)
  at Proxy.<anonymous> (https://codesandbox.io/static/js/vendors~app.8a619e6d0.chunk.js?_sw-precache=2213ea3572f634ccadff0a58c3ac202e:1:1061785)
  at https://codesandbox.io/static/js/app.b6049c787.js?_sw-precache=d9d212085a0a4d8512a56c0a14ae6651:306:607959
  at l (https://codesandbox.io/static/js/common-sandbox.26857ffcc.chunk.js?_sw-precache=ad9bd5b2ba107d388b6e09e35627a055:1:255733)
  at Generator._invoke (https://codesandbox.io/static/js/common-sandbox.26857ffcc.chunk.js?_sw-precache=ad9bd5b2ba107d388b6e09e35627a055:1:255486)
  at Generator.next (https://codesandbox.io/static/js/common-sandbox.26857ffcc.chunk.js?_sw-precache=ad9bd5b2ba107d388b6e09e35627a055:1:256090)
  at t (https://codesandbox.io/static/js/common-sandbox.26857ffcc.chunk.js?_sw-precache=ad9bd5b2ba107d388b6e09e35627a055:1:2405)
  at i (https://codesandbox.io/static/js/common-sandbox.26857ffcc.chunk.js?_sw-precache=ad9bd5b2ba107d388b6e09e35627a055:1:2616)

  in Wn
  in div
  in Actions___StyledStack
  in xr
  in header
  in Header___StyledStack
  in Oa
  in je
  in Unknown
  in div
  in elements__Container
  in je
  in Unknown
  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 je
  in c
  in t

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions