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
  • #7233
Closed
Open
Issue created Jun 17, 2019 by Administrator@rootContributor

Console clearing removes CRA’s own warnings

Created by: denis-sokolov

react-scripts start continuous scrollback clearing (#2495 (closed)) clears the warnings CRA itself prints. Here is a visual demonstration slowed down:

blink

On a faster setup it is near impossible to read the warning before it disappears.

Platform: node 10.15.3, npm 6.9.0 Search terms: clear, console, warning, 2495.

Steps to Reproduce

  1. npx create-react-app my-app foo --typescript
  2. cd foo
  3. Delete allowSyntheticDefaultImports option in tsconfig.json
  4. npm start

Expected Behavior

Ideally react-scripts would not clear the scrollback (#2495 (closed)) and let the user see the logs of what happened in the past. Given the resolution of that issue this is unlikely.

Alternatively, react-scripts should take a lot of care to not clear its own warnings.

Assignee
Assign to
Time tracking