Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Issues
  • #2231
Closed
Open
Issue created May 19, 2017 by Administrator@rootContributor

react-error-overlay: uncaught typeerror on using right/left arrow

Created by: Gandem

Hello !

First of all thanks a lot for the upgrade and the hard work, create-react-app is completely awesome 😄 !

This issue was discovered when updating to react-scripts@1.0.0

Description

On launching an empty app created with create-react-app, and using right/left arrow on the keyboard (when no overlay error is present) it logs an error in the console:

Uncaught TypeError: Cannot read property 'error' of undefined
    at renderErrorByIndex (overlay.js:66)
    at switchError (overlay.js:86)
    at shortcutHandler (overlay.js:145)
    at keyHandler (shortcuts.js:17)

Reproducible Demo

I could reproduce this error on a new react project created with create-react-app, as well as old projects I upgraded.

For info, I'm on Mac OSX Sierra on Chrome 57.

I would be glad to send a Pull Request and work on this issue, if someone could give me some hints to what's actually happening on here !

Assignee
Assign to
Time tracking