create-react-app
create-react-app copied to clipboard
Empty page when running `npm start`
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
- run
npx create-react-app <folder>
- input
y
when prompt the installation ofcreate-react-app
- 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
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 :