[Nest] 25920 - 07/18/2025, 8:34:44 AM LOG [NestFactory] Starting Nest application...
[Nest] 25920 - 07/18/2025, 8:34:44 AM ERROR [ExceptionHandler] UnknownDependenciesException [Error]: Nest can't resolve dependencies of the AppController (?). Please make sure that the argument Function at index [0] is available in the AppModule context.
I'm not sure why it thinks that the dependency is Function.
app.module.ts
import { Module } from "@nestjs/common";
import { AppController } from "./app.controller";
import { AppService } from "./app.service";
@Module({
controllers: [AppController],
providers: [AppService],
})
export class AppModule {}
app.service.ts
import { Injectable } from "@nestjs/common";
@Injectable()
export class AppService {
async getHello() {
return "Hello World";
}
}
What am I doing wrong??