Hey, so I have recently updated all my nestjs packages to ^10.3.0, the latest version. After doing that I had some quite interesting issues regarding aliases not working.
Here's a simple example:
import { Module } from '@nestjs/common';
import { AuthService } from '~/auth/auth.service';
import { Websocket } from './websocket.gateway';
@Module({
providers: [Websocket, AuthService],
exports: [Websocket, AuthService],
})
export class SharedModule {}
This used to work before updating, but now just says that AuthService can't be resolved. The alias is setup correctly as it worked before the update, and the IDE is able to resolve this path.