Skip to content

ng deploy should not recommend @azure/ng-deploy as an example #23255

@doggy8088

Description

@doggy8088

🐞 Bug report

Command (mark with an x)

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • extract-i18n
  • run
  • config
  • help
  • version
  • doc
  • deploy

Is this a regression?

No

Description

The @azure/ng-deploy is outdated and only support Angular 9 at this moment. I think this one should be removed from the example to avoid confusion to newbies.

image

🔬 Minimal Reproduction

npx @angular/cli@14.0.0-rc.2 new demo1 --routing --style=css
cd demo1
ng deploy
ng add @azure/ng-deploy

🔥 Exception or Error


Skipping installation: Package already installed
An unhandled exception occurred: NOT SUPPORTED: keyword "id", use "$id" for schema ID
See "C:\Users\wakau\AppData\Local\Temp\ng-obGdVe\angular-errors.log" for further details.

🌍 Your Environment


Angular CLI: 13.3.7
Node: 16.15.0
Package Manager: npm 8.5.5
OS: win32 x64

Angular: 13.3.10
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1303.7
@angular-devkit/build-angular   13.3.7
@angular-devkit/core            13.3.7
@angular-devkit/schematics      13.3.7
@angular/cli                    13.3.7
@schematics/angular             13.3.7
rxjs                            7.5.5
typescript                      4.6.4

Anything else relevant?

This issue is related to #22978 and microsoft/playwright#11258

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions