You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When upgrading to v3.14.0 which merged 3dcba7d, I get the following error
(node:465857) UnhandledPromiseRejectionWarning: TypeError: this.metadataScanner.getAllMethodNames is not a function at DiscoveryService.classMethodsWithMetaAtKey (/home/dusan/Projects/web-api/node_modules/@golevelup/nestjs-discovery/src/discovery.service.ts:171:33)
From @golevelup/nestjs-discovery this is expected because of their peer deps:
while nest-commander@3 is supposed to support nestjs v8:
So I guess the only fix to this is doing some patching here (for nestjs v8 users only) because there is no version of @golevelup/nestjs-discovery that supports both nestjs v8 and v10 at same time, I just checked. Or maybe @jmcdo29 could just drop @golevelup/nestjs-discovery, idk
Activity
micalevisk commentedon Oct 12, 2024
yeah, indeed
From
@golevelup/nestjs-discoverythis is expected because of their peer deps:while
nest-commander@3is supposed to support nestjs v8:So I guess the only fix to this is doing some patching here (for nestjs v8 users only) because there is no version of
@golevelup/nestjs-discoverythat supports both nestjs v8 and v10 at same time, I just checked. Or maybe @jmcdo29 could just drop@golevelup/nestjs-discovery, idk