It looks like you opened the HTML file directly. React apps need a local server to run.
To fix this: Run npm run dev in your terminal and open the link it provides (usually http://localhost:5173).
npm run dev
http://localhost:5173