Answer the question
In order to leave comments, you need to log in
How to fix error when deploying nest.js on heroku?
I'm trying to upload a nest.js application to heroku, here's the error:
main.ts:
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
async function bootstrap() {
const app = await NestFactory.create(AppModule);
app.setGlobalPrefix('api');
await app.listen(5000, '0.0.0.0');
}
bootstrap();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question