DEV Community

Discussion on: Deploying a NestJS Application on AWS Beanstalk

Collapse
 
williamxsp profile image
William Martins 🇧🇷 • Edited

I dont have src folder inside dist.
Do I need to create one?
thepracticaldev.s3.amazonaws.com/i...
Not sure what have you uploaded to the server.

Collapse
 
antogarand profile image
Antony Garand

The src folder is what I used in my project to store the source, if you don't have one you can run node main.js or whatever your index file is and it should be fine.

Collapse
 
tayambamwanza profile image
Tayamba Mwanza

I uploaded my project using cpanel but it gave me an error that @nestjs/core module cannot be found. I didn't upload package.json, If I upload do you think this will fix it? Also will I need to run npm install?