Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'NestMicroservice' incorrectly implements interface 'INestMicroservice'

error TS2420: Class 'NestMicroservice' incorrectly implements interface 'INestMicroservice'. Property 'listenAsync' is missing in type 'NestMicroservice' but required in type 'INestMicroservice'.

like image 397
Nika Kiria Avatar asked Dec 13 '25 22:12

Nika Kiria


1 Answers

Simply ensure you install the same version of the current @nestjs/core. Ex: If you're currently on NestJS Version 8 (@nestjs/core -> 8.4.7) pnpm i @nestjs/[email protected]

like image 181
Vixson Avatar answered Dec 16 '25 22:12

Vixson



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!