create-react-app doesn't work

Created on 15 Aug 2020  路  5Comments  路  Source: facebook/create-react-app

Describe the bug

create-react-app doesn't work, after running yarn start, the browser starts up but the page doesn't appear.

Did you try recovering your dependencies?

I tried uninstalling the specified version in nodenv and then reinstalling it, but the problem persists.

Which terms did you search for in User Guide?

npm start not work

Environment

 current version of create-react-app: 3.4.1
  running from /Users/nagaishou/.nodenv/versions/12.18.0/lib/node_modules/create-react-app

  System:
    OS: macOS 10.15.6
    CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
  Binaries:
    Node: 12.18.0 - ~/.nodenv/versions/12.18.0/bin/node
    Yarn: 1.7.0 - /usr/local/bin/yarn
    npm: 6.14.4 - ~/.nodenv/versions/12.18.0/bin/npm
  Browsers:
    Chrome: 84.0.4147.125
    Firefox: 72.0.2
    Safari: 13.1.2
  npmPackages:
    react: ^16.13.1 => 16.13.1
    react-dom: ^16.13.1 => 16.13.1
    react-scripts: 3.4.3 => 3.4.3
  npmGlobalPackages:
    create-react-app: 3.4.1

Steps to reproduce

1.create-react-app client-app --template typescript
2.cd client-app
3.yarn start

Expected behavior

show welcome to react.

Actual behavior

No errors in the console.

The browser opens, but the page does not appear.

Reproducible demo

https://github.com/shoNagai/start-create-react-app

bug report needs triage stale

All 5 comments

@HemanthDavuluri Thank you very much.
Referring to https://github.com/facebook/create-react-app/issues/5392, I was able to get it to work by changing the port.
I didn't specifically use the 3000 port, so I don't know the root cause of the problem, but it helped for now.

@shoNagai nice
close the issue as it is solved

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.

This issue has been automatically closed because it has not had any recent activity. If you have a question or comment, please open a new issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AlexeyRyashencev picture AlexeyRyashencev  路  3Comments

dualcnhq picture dualcnhq  路  3Comments

xgqfrms-GitHub picture xgqfrms-GitHub  路  3Comments

DaveLindberg picture DaveLindberg  路  3Comments

rdamian3 picture rdamian3  路  3Comments