Yesterday I started a Vite project and closed it now I opened it again but when I run ‘npm run dev’ I get an error so I cant run my project I am using Vite with react and typescript.
Here is a picture of the error I would appreciate help because I have no idea how to fix this.
2
Answers
"Make sure you are in the directory where the project is and try (npm init) then (npm install) and wait after that (npm run dev)" is the solution that worked for me
It looks like an issue with node. Check if the json file is within the chat directory.