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
  • #12984
Closed
Open
Issue created Jan 23, 2023 by Administrator@rootContributor

It cleared the entire console on first start

Created by: nodingneu

Describe the bug

Immediately after installing create-react-app for the first time ever (npx create-react-app story-base --template typescript), I cd'd into the project folder and ran npm start to test it out (just as instructed).

This wiped my whole console scrollback. At first I thought it had started an ncurses window or something, but no, ending the process (ctrl-C) revealed it had simply destroyed my terminal environment.

Did you try recovering your dependencies?

Yes, this issue happened on a fresh installation twice.

Which terms did you search for in User Guide?

"clear console", "console cleared", "console scroll", "terminal clear", "cleared terminal", "terminal scroll"

Environment

  current version of create-react-app: 5.0.1
  running from /Users/nodingneu/.npm/_npx/c67e74de0542c87c/node_modules/create-react-app

  System:
    OS: macOS 12.6.1
    CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
  Binaries:
    Node: 19.4.0 - /usr/local/bin/node
    Yarn: Not Found
    npm: 9.2.0 - /usr/local/bin/npm
  Browsers:
    Chrome: 109.0.5414.87
    Edge: Not Found
    Firefox: Not Found
    Safari: 16.1
  npmPackages:
    react: ^18.2.0 => 18.2.0 
    react-dom: ^18.2.0 => 18.2.0 
    react-scripts: 5.0.1 => 5.0.1 
  npmGlobalPackages:
    create-react-app: Not Found

(By the way, the output of this command was not copied to my clipboard directly)

Steps to reproduce

  1. npx create-react-app my-app
  2. cd my-app
  3. npm start

Expected behavior

It should start running like any other normal program, either in a new window, or below the command line

Actual behavior

It cleared my entire scrollback buffer.

Reproducible demo

  1. npx create-react-app my-app
  2. cd my-app
  3. npm start
Assignee
Assign to
Time tracking