I had a student turn in an assignment. It has a “vite” error and I don’t know where it came from. They were to build a basic HTML form and I told them I’d give them extra credit if they used JS to make the submit button workable. His entire page won’t display due to this error, but I can see his code. We don’t use vite, but there is a vite folder in his files. I know nothing about vite.
Hey @mfreed, thank you for your post and welcome to the community!
I don’t know why your student is using Vite if he’s doing a HTML for, vite is a JS framework, but for this he will just need plain JS. I think he might have installed Vite via NPM. For this I recommend to tell your student to copy all the code into a new repl or just run this command if he installed it via NPM :
npm uninstall -g vite
Also, what repl template is your student using?
Thank you for the reply. They are using the HTML, CSS, JS template.