Skip to content

Empty page when running npm start #13456

Open
@luverolla

Description

@luverolla

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 `' is absent.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions