-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using create-react-app typescript template app crashes during startup #10152
Comments
If I |
Yes installing it manually will solve this.
then
|
Yes, but that's not an optimal developer experience for a tool that is supposed to work out of the box. Thus a bug report. |
Got the same issue for ubuntu 20.04
But I can't install chokidar
Please, need some help! |
getting the same issue as above.. can anyone please look into of whats the cause ?
|
Same issue, only difference is that I was actually able to run |
any update here? |
bump |
If it can help, I used to pack my project with |
its something definitely wrong with however it shouldn't be like this and dependencies should handled in latest stable version.. here is the detailed reasoning of why it may cause: |
Describe the bug
I'm attempting to run through a tutorial, so I start a new project with
npx create-react-app --template typescript
npm start
Error looks like:
Did you try recovering your dependencies?
npm version: 6.14.9
Also, when removing and re-installing I got a lot of deprecation warnings, been a while since I spun up a fresh project so not sure if that's normal
Which terms did you search for in User Guide?
Environment
Environment Info:
current version of create-react-app: 4.0.1
running from /Users/**/.npm/_npx/19711/lib/node_modules/create-react-app
System:
OS: macOS 10.15.6
CPU: (4) x64 Intel(R) Core(TM) i5-6267U CPU @ 2.90GHz
Binaries:
Node: 14.15.0 - ~/.nvm/versions/node/v14.15.0/bin/node
Yarn: Not Found
npm: 6.14.9 - ~/.nvm/versions/node/v14.15.0/bin/npm
Browsers:
Chrome: 87.0.4280.67
Edge: Not Found
Firefox: Not Found
Safari: 13.1.2
npmPackages:
react: ^17.0.1 => 17.0.1
react-dom: ^17.0.1 => 17.0.1
react-scripts: 4.0.1 => 4.0.1
npmGlobalPackages:
create-react-app: Not Found
Steps to reproduce
(Write your steps here:)
Same as description, this is a fresh install
npx create-react-app --template typescript .
npm start
Expected behavior
Template app starts
Actual behavior
Crash with error text from above.
Reproducible demo
Haven't changed a single thing from the template install, no real purpose in creating a repo.
The text was updated successfully, but these errors were encountered: