codesandbox / codesandbox/codesandbox-client

Sign in with GitHub crashes CodeSandbox

Open
#5,471 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🐛 Bug 💥 Crash Report
Dominant language
JavaScript
Stars
13.6k
Forks
2.4k
Avg merge
6d 19h
Merged PRs (30d)
2

Description

💥 Crash Report

Sign in with github

Link to sandbox: [link](https://codesandbox.io/s/qumzf) (optional)
Environment
Browser Version Operating System CodeSandbox Version
firefox 85.0.0 Windows 10 702e2e569

Route:
https://codesandbox.io/s/qumzf

Error Message
TypeError: p.experiments is undefined
Ia@https://codesandbox.io/static/js/app.6f0d7aadb.js:266:1057897
ua@https://codesandbox.io/static/js/common.eceff0d64.chunk.js:1:1780850
Ka@https://codesandbox.io/static/js/common.eceff0d64.chunk.js:1:1789115
xs@https://codesandbox.io/static/js/common.eceff0d64.chunk.js:1:1827303
ml@https://codesandbox.io/static/js/common.eceff0d64.chunk.js:1:1811691
hl@https://codesandbox.io/static/js/common.eceff0d64.chunk.js:1:1811614
il@https://codesandbox.io/static/js/common.eceff0d64.chunk.js:1:1808942
Xo/<@https://codesandbox.io/static/js/common.eceff0d64.chunk.js:1:1767125
../../node_modules/react-dom/node_modules/scheduler/cjs/scheduler.production.min.js/t.unstable_runWithPriority@https://codesandbox.io/static/js/common.eceff0d64.chunk.js:1:1842461
qo@https://codesandbox.io/static/js/common.eceff0d64.chunk.js:1:1766834
Xo@https://codesandbox.io/static/js/common.eceff0d64.chunk.js:1:1767072
Yo@https://codesandbox.io/static/js/common.eceff0d64.chunk.js:1:1767005
el@https://codesandbox.io/static/js/common.eceff0d64.chunk.js:1:1805728
Sa@https://codesandbox.io/static/js/common.eceff0d64.chunk.js:1:1784525
.forceRerender<@https://codesandbox.io/static/js/vendors~app.65308a20a.chunk.js:1:967587
d/<@https://codesandbox.io/static/js/vendors~app.65308a20a.chunk.js:1:968269
track/this.callback@https://codesandbox.io/static/js/vendors~app.65308a20a.chunk.js:1:1096514
flush@https://codesandbox.io/static/js/vendors~app.65308a20a.chunk.js:1:1099344
flush@https://codesandbox.io/static/js/vendors~app.65308a20a.chunk.js:1:1095568
b/<@https://codesandbox.io/static/js/vendors~app.65308a20a.chunk.js:1:978245
../../node_modules/betsy/es/index.js/r</e.prototype.emit@https://codesandbox.io/static/js/vendors~app.65308a20a.chunk.js:1:416577
createAction/<@https://codesandbox.io/static/js/vendors~app.65308a20a.chunk.js:1:980944
createContext/<.actions</<@https://codesandbox.io/static/js/vendors~app.65308a20a.chunk.js:1:979939
e/<@https://codesandbox.io/static/js/app.6f0d7aadb.js:266:544715
l@https://codesandbox.io/static/js/common-sandbox.71780db40.chunk.js:1:257407
i/n._invoke</<@https://codesandbox.io/static/js/common-sandbox.71780db40.chunk.js:1:257161
_/</e[o]@https://codesandbox.io/static/js/common-sandbox.71780db40.chunk.js:1:257764
t@https://codesandbox.io/static/js/common-sandbox.71780db40.chunk.js:1:2405
i@https://codesandbox.io/static/js/common-sandbox.71780db40.chunk.js:1:2617
../../node_modules/@babel/runtime/helpers/asyncToGenerator.js/e.exports/</<@https://codesandbox.io/static/js/common-sandbox.71780db40.chunk.js:1:2676
../../node_modules/@babel/runtime/helpers/asyncToGenerator.js/e.exports/<@https://codesandbox.io/static/js/common-sandbox.71780db40.chunk.js:1:2556
./src/app/overmind/index.ts/Ne</<@https://codesandbox.io/static/js/app.6f0d7aadb.js:266:545209
createAction/<@https://codesandbox.io/static/js/vendors~app.65308a20a.chunk.js:1:980895
createContext/<.actions</<@https://codesandbox.io/static/js/vendors~app.65308a20a.chunk.js:1:979939
e/<@https://codesandbox.io/static/js/app.6f0d7aadb.js:266:545638
l@https://codesandbox.io/static/js/common-sandbox.71780db40.chunk.js:1:257407
i/n._invoke</<@https://codesandbox.io/static/js/common-sandbox.71780db40.chunk.js:1:257161
_/</e[o]@https://codesandbox.io/static/js/common-sandbox.71780db40.chunk.js:1:257764
t@https://codesandbox.io/static/js/common-sandbox.71780db40.chunk.js:1:2405
i@https://codesandbox.io/static/js/common-sandbox.71780db40.chunk.js:1:2617


  in Ia
  in header
  in Header___StyledStack
  in Zo
  in De
  in Unknown
  in div
  in elements__Container
  in De
  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 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

Reproduce the GitHub sign-in flow in Firefox on the linked sandbox and inspect the header stack around the p.experiments is undefined error. Start with src/app/overmind/index.ts, then trace the sign-in state used by the header; done means signing in with GitHub no longer crashes CodeSandbox.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, javascript, react
Domain
authentication, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.