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
[ ] Regression
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
Import of TerminusModule is broken
Expected behavior
Import of TerminusModule should works
Minimal reproduction of the problem with instructions
Simply try to import like that :
import { TerminusModule } from '@nestjs/terminus';
And run your app, you'll see that Nest displays an error message:
Nest can't resolve dependencies of the TerminusBootstrapService (TerminusModuleOptions, TerminusLib, ?). Please make sure that the argument at index [2] is available in the TerminusModule context.
What is the motivation / use case for changing the behavior?
When looking in terminus-bootstrap.service.d.ts, it seems that HttpAdapterHost import is broken, I do not see this package in @nestjs/core, maybe an update in @nestjs/core has been done.
Environment
Nest version: 5.4.0
For Tooling issues:
- Node version: v10.12.0
- Platform: Mac
Others:
The text was updated successfully, but these errors were encountered:
I guess you have a mismatch of @nestjs/core and @nestjs/terminus versions. Either install npm i @nestjs/terminus@5.6.0 or uprgade npm i @nestjs/core @nestjs/common to at least 6.x.x.
I'm submitting a...
Current behavior
Import of TerminusModule is broken
Expected behavior
Import of TerminusModule should works
Minimal reproduction of the problem with instructions
Simply try to import like that :
import { TerminusModule } from '@nestjs/terminus';
And run your app, you'll see that Nest displays an error message:
Nest can't resolve dependencies of the TerminusBootstrapService (TerminusModuleOptions, TerminusLib, ?). Please make sure that the argument at index [2] is available in the TerminusModule context.
What is the motivation / use case for changing the behavior?
When looking in terminus-bootstrap.service.d.ts, it seems that HttpAdapterHost import is broken, I do not see this package in @nestjs/core, maybe an update in @nestjs/core has been done.
Environment
The text was updated successfully, but these errors were encountered: