#Creating a project
15 messages · Page 1 of 1 (latest)
Code inside main.jsx:
import { createRoot } from 'react-dom/client'
import App from './App.jsx'
createRoot(document.getElementById('root')).render(
<App />
)
Hey, it's due to misconfiguration
Vite is not a default command
You can start project by doing this npm create vite@latest
Or you can install vite globally then vite command like vite dev will work
npm install -g vite
Let me try that
I did that and followed some instructions on the terminal. Ended up getting an error i didnt even understand 😐
I reopened a new project
Now what to do?
This is what i see
Im a little confused on what you’re asking because it looks fine? based on the screenshot, it looks like its running and everything
Yeah, i fixed it. Thanks!!