rxjs_1.lastValueFrom ist keine Funktion

# If you're using Nest v8, RxJS version 7 is used, 
# which no longer has a toPromise() method for Observables, 
# so Nest uses the lastValueFrom method instead. 
# you probably need to update your rxjs dependency to >7.

#just use a variant for your package manager

npm i rxjs@^7
yarn add rxjs@^7
pnpm i rxjs @^7
serhii.nahornyi