#Deploying Vite (+ React) on Elasticbeanstalk

1 messages · Page 1 of 1 (latest)

lime raven
#

After running npm run build, I get a build in dist/ folder. However, when I zip the dist/ and upload to Elasticbeanstalk, I always get the error Instance deployment failed to generate a 'Procfile' for Node.js. Provide one of theses files: 'package.json', 'server.js', or 'app.js'. The deployment failed. And indeed, there isn't any of these files in the dist/ folder.

Any help on this will be appreciated.

stoic sequoia