Skip to content

bug: Cannot find module '@ionic/angular-server' or its corresponding type declarations #24605

@samizarraa

Description

@samizarraa

Prerequisites

Ionic Framework Version

  • v4.x
  • v5.x
  • v6.x

Current Behavior

Error: src/app/app.server.module.ts:6:35 - error TS2307: Cannot find module '@ionic/angular-server' or its corresponding type declarations.

6 import { IonicServerModule } from '@ionic/angular-server';
~~~~~~~~~~~~~~~~~~~~~~~

Error: src/app/app.server.module.ts:9:12 - error NG1010: Value at position 2 in the NgModule.imports of AppServerModule is not a reference Value could not be determined statically.

Expected Behavior

Angular SSR

Steps to Reproduce

npm run dev:ssr

Code Reproduction URL

No response

Ionic Info

No response

Additional Information

Angular 13

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions