Skip to content

Cannot find module '@as-integrations/express5' error in Fastify setup #3693

@Gamote

Description

@Gamote

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

We just upgraded to @nestjs/apollo@^13.2.0 so we can use the Apollo Server v5 introduced by the #3669.

But as soon as we do we get the following error

Error: Cannot find module '@as-integrations/express5'

We are using the Apollo Server with Fastify and not Express. Are we forced to install '@as-integrations/express5' although we already have @as-integrations/fastify@^3.0.0?

Related:

If the issue is upstream, I think we should still address it in a way or another in the @nestjs/apollo as the 13.2.0 is a minor release but it breaks all Fastify setups.

Expected behavior

We expect that after upgrading to @nestjs/apollo@^13.2.0 from @nestjs/apollo@^13.1.0.

Package version

^13.2.0

Graphql version

graphql: ^13.2.0
@nestjs/platform-fastif: ^11.1.6

NestJS version

^11.1.6

Node.js version

22.10.0

In which operating systems have you tested?

  • macOS
  • Windows
  • Linux

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions