Answers for "rxjs_1.lastvaluefrom is not a function"

1

rxjs_1.lastvaluefrom is not a function

# 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
Posted by: Guest on August-01-2021

Code answers related to "rxjs_1.lastvaluefrom is not a function"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language