Closed BenWildeman closed 4 years ago
Duplicate of #596 and #594. I’ll keep this one open so no new issues ahout this will get created.
7.0.0 compatibility is on the way, check out #593
Hi got one question: installing the new terminus version and running the server displays the following errors:
node_modules/@nestjs/terminus/dist/health-indicator/database/typeorm.health.d.ts:1:33 - error TS2307: Cannot find module 'typeorm'.
1 import type { Connection } from 'typeorm';
~~~~~~~~~
node_modules/@nestjs/terminus/dist/health-indicator/microservice/grpc.health.d.ts:1:34 - error TS2307: Cannot find module '@nestjs/microservices'.
1 import type { GrpcOptions } from '@nestjs/microservices';
~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@nestjs/terminus/dist/health-indicator/microservice/microservice.health.d.ts:1:93 - error TS2307: Cannot find module '@nestjs/microservices'.
1 import { GrpcOptions, MqttOptions, NatsOptions, RedisOptions, RmqOptions, TcpOptions } from '@nestjs/microservices';
Terminus needs @nestjs/microservices
and typeorm
?? If so, they not seem to appear in the package-lock.json
as required dependencies.
@hazzo still need to fix that, at the moment you will need to add ”skipLibCheck”: true
in your tsconfig to bypass that
Okey cool thanks. I solved meanwhile by adding the corresponding dependencies.
Resolved in 7.0.0 :tada:
@hazzo also the skipLibCheck
is now resolved
I'm submitting a...
Current behavior
When using nestjs v7, eslint will throw errors about not being able to find
microservice-configuration.interface
Expected behavior
to work with v7
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Environment