#Deploying a Nodejs app (with vite) to Heroku - Vite not found

3 messages · Page 1 of 1 (latest)

orchid siren
#

I have a simple Node.js app that uses Vite and Three.js
When trying to deploy it, it builds naturally (as seen on Build Logs) but I get the same error on the Application logs
This vite package is being used to build the application in the first place (and it works) so I don't know why it then doesn't recognize it. Everything is explicit on the package.json file

orchid siren
#

ok i believe its my fault as i havent been actually building anything
So, i run "npm run build" which does "vite build" and bundles everything nicely into a distro file. How do i then use said file and host it on Heroku or wtv?

orchid siren