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
npx create-react-app my-app
cd my-app
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
npx create-react-app my-app
cd my-app
npm start
Describe the bug
Immediately after installing
create-react-appfor the first time ever (npx create-react-app story-base --template typescript), I cd'd into the project folder and rannpm startto 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
(By the way, the output of this command was not copied to my clipboard directly)
Steps to reproduce
npx create-react-app my-appcd my-appnpm startExpected 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
npx create-react-app my-appcd my-appnpm start