create-react-app icon indicating copy to clipboard operation
create-react-app copied to clipboard

Empty page when running `npm start`

Open luverolla opened this issue 1 year ago • 1 comments

Describe the bug

When running npm start, the browser shows an empty page but the console show no errors or warnings. Using the page analyser with F12 shows a totally empty page, even the warning under `

Did you try recovering your dependencies?

I runned npm start on a freshly created app with npx create-react-app, and I runned the start command without modifying anything. Even setting homepage: '.' or homepage: './' in package.json didn't work.

Environment

  System:
    OS: Windows 11 10.0.22631
    CPU: (16) x64 AMD Ryzen 7 6800H with Radeon Graphics
  Binaries:
    Node: 20.9.0 - C:\Program Files\nodejs\node.EXE
    Yarn: Not Found
    npm: 10.2.3 - C:\Program Files\nodejs\npm.CMD

Steps to reproduce

  1. run npx create-react-app <folder>
  2. input y when prompt the installation of create-react-app
  3. after completed run these commands
cd <folder>
npm start

Expected behavior

The expected behiavour is to see the React logo spinning

Actual behavior

The actual behiavour is a complete blank page

luverolla avatar Nov 22 '23 08:11 luverolla

hey @luverolla i just went through all the steps to reproduce the issue , but i didnt found the issue that u mentioned and all seems to work fine ... are you sure that you didnt changed the actual code of your react app before launching it ?

seems to work fine in my local machine : image image

VineeTagarwaL-code avatar Nov 23 '23 05:11 VineeTagarwaL-code