I am currently working on a controller in NestJS located in the file auth.controller.ts.
import { Controller } from 'nestjs/common';
@Controller()
export class AppController {}
However, I encountered an error that says:
Error TS2307: Cannot find module 'nestjs/common' or its corresponding type declarations.
To troubleshoot, I have already installed all necessary dependencies, deleted the dist folder, and restarted yarn start:dev.
For reference, here is a snapshot of all my dependencies: Here is all my dependencies.