MCPcopy
hub / github.com/nestjs/nest / MISSING_REQUIRED_DEPENDENCY

Function MISSING_REQUIRED_DEPENDENCY

packages/core/helpers/load-adapter.ts:3–7  ·  view source on GitHub ↗
(
  defaultPlatform: string,
  transport: string,
)

Source from the content-addressed store, hash-verified

1import { Logger } from '@nestjs/common';
2
3const MISSING_REQUIRED_DEPENDENCY = (
4 defaultPlatform: string,
5 transport: string,
6) =>
7 `No driver (${transport}) has been selected. In order to take advantage of the default driver, please, ensure to install the "${defaultPlatform}" package ($ npm install ${defaultPlatform}).`;
8
9const logger = new Logger('PackageLoader');
10

Callers 1

loadAdapterFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected