-
-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
I am using nestcloud boot and consul.
When using Nest with Fastify we cannot build an app that uses nestcloud:
$ npm run build
> b2b-product-search-service@0.0.1 prebuild /home/trenduser/dev/git/new-product-search/b2b-product-search-service
> rimraf dist
> b2b-product-search-service@0.0.1 build /home/trenduser/dev/git/new-product-search/b2b-product-search-service
> nest build
node_modules/@nestcloud/common/interfaces/proxy.interface.d.ts:1:35 - error TS2307: Cannot find module 'express' or its corresponding type declarations.
1 import { Request, Response } from 'express';
~~~~~~~~~
node_modules/@nestcloud/common/utils/provider.util.d.ts:10:71 - error TS2307: Cannot find module 'typeorm' or its corresponding type declarations.
10 inject: (string | Function | import("@nestjs/common").Type<import("typeorm").Connection>)[];
~~~~~~~~~
node_modules/@nestcloud/common/utils/provider.util.d.ts:15:71 - error TS2307: Cannot find module 'typeorm' or its corresponding type declarations.
15 inject: (string | Function | import("@nestjs/common").Type<import("typeorm").Connection>)[];
~~~~~~~~~
As a workaround I installed express and typeorm, but I don't believe this is the correct approach.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels