Skip to content

Fastify install is required despite Express as the selected platform #3

@KerryRitter

Description

@KerryRitter

I installed and setup as specified, but got the following error on start:

node_modules/@nestifyjs/cookie/lib/interceptors/fastify-cookie.interceptor.d.ts:4:26 - error TS2307: Cannot find module 'fastify' or its corresponding type declarations.

4 import * as fastify from 'fastify';
                           ~~~~~~~~~
node_modules/@nestifyjs/cookie/lib/interceptors/fastify-cookie.interceptor.d.ts:5:46 - error TS2307: Cannot find module 'fastify' or its corresponding type declarations.

5 import { FastifyReply, FastifyRequest } from 'fastify';
                                               ~~~~~~~~~

I installed fastify as a dev dependency to get the compilation to work, but was splattered with warnings (due to a version mismatch I assume).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions