Skip to content

[Clover] Module not found: Error: Can't resolve '@angular/platform-server/init' ... #24188

Closed
@Yberion

Description

@Yberion

🐞 Bug report

What modules are related to this issue?

  • builders
  • common
  • express-engine

Is this a regression?

Since I updated to Universal/Angular 15 next, the probleme appeared, it worked properly on last version of Universal/Angular 14.

Description

I am trying to build the SSR server using Clover Engine, then I'm getting an error.

🔬 Minimal Reproduction

  1. Clone https://github.com/Yberion/Angular-SSR-Clover-Engine
  2. npm run build:server:fastify

🔥 Exception or Error

Error: Module not found: Error: Can't resolve '@angular/platform-server/init' in 'D:\GitHub\Angular-SSR-Clover-Engine'

🌍 Your Environment


     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/
    

Angular CLI: 15.0.0-rc.2
Node: 18.12.1
Package Manager: npm 8.19.2
OS: win32 x64

Angular: 15.0.0-rc.2
... cli, common, compiler, compiler-cli, core, platform-browser
... platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1500.0-rc.2
@angular-devkit/build-angular   15.0.0-rc.2
@angular-devkit/core            15.0.0-rc.2
@angular-devkit/schematics      15.0.0-rc.2
@nguniversal/common             15.0.0-next.1
@schematics/angular             15.0.0-rc.2
rxjs                            7.5.7
typescript                      4.8.4

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