Skip to content

Not compatible with Angular 20 #199

Closed

Description

@Asmitta-01

The package can't be installed on a Angular 20 app:

PS C:\Users\Asmitta\xxx\xxx-web> ng add angular-cli-ghpages
✔ Determining Package Manager
  › Using package manager: npm
✔ Searching for compatible package version
  › Found compatible package version: angular-cli-ghpages@2.0.3.
✔ Loading package information from registry
✔ Confirming installation
✔ Installing package
Cannot read the output path (architect.build.options.outputPath) of the Angular project "stockpro-desktop-web" in angular.json

Any workaround for this ?

My version

PS C:\Users\Asmitta\xxx\xxx-web> ng version  

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



Angular CLI: 20.3.9
Node: 22.12.0
Package Manager: npm 11.6.2
OS: win32 x64


Angular: 20.3.10
... common, compiler, compiler-cli, core, forms
... platform-browser, platform-server, router

Package                      Version
------------------------------------
@angular-devkit/architect    0.2003.9
@angular-devkit/core         20.3.9
@angular-devkit/schematics   20.3.9
@angular/build               20.3.9
@angular/cli                 20.3.9
@angular/ssr                 20.3.9
@schematics/angular          20.3.9
rxjs                         7.8.2
typescript                   5.9.3

Activity

  1. added 2 commits that reference this issue on Dec 27, 2025
    970c5d0
    f30fd9f
  2. JohannesHoppe commented on Jan 7, 2026

    @JohannesHoppe
    Member

    angular-cli-ghpages v3.0.0 is out! 🎉 This fixes the Angular 20 compatibility issue. We now support Angular 18 through 21.

    npm install angular-cli-ghpages@latest --save-dev
    

    See: https://github.com/angular-schule/angular-cli-ghpages/releases/tag/v3.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions