Closed
Description
Summary
The command mentioned at Building a React Framework is not the correct command for starting a vite project and therefore fails.
The vite docs Getting Started page recommends a command like this :
npm create vite@latest my-app -- --template react
Page
https://react.dev/learn/building-a-react-framework
Details
The npx vite@latest —template react
command should be replaced by the following command which is mentioned in the vite docs :
npm create vite@latest my-app -- --template react
An alternative would be to mention only the npm create vite@latest
and tell the user to select react :