ng-deploy-azure icon indicating copy to clipboard operation
ng-deploy-azure copied to clipboard

NOT SUPPORTED: keyword "id", use "$id" for schema ID

Open andreqb opened this issue 3 years ago • 2 comments

Walking through the Quick Start I get the

NOT SUPPORTED: keyword "id", use "$id" for schema ID error

when I ng add @azure/ng-deploy

To Reproduce Steps to reproduce the behavior: Go through the quickstart step by step

Here's my angular/OS version info

Angular CLI: 14.2.1 Node: 16.14.0 Package Manager: npm 8.3.1 OS: win32 x64

Angular: ...

Package Version

@angular-devkit/architect 0.1402.1 (cli-only) @angular-devkit/core 14.2.1 (cli-only) @angular-devkit/schematics 14.2.1 (cli-only) @schematics/angular 14.2.1 (cli-only)

andreqb avatar Sep 04 '22 08:09 andreqb

Same problem:

Angular CLI: 16.0.0
Node: 18.17.0
Package Manager: npm 9.6.7
OS: darwin arm64

Package                         Version
----------------------------------------
@angular-devkit/architect       0.1600.0
@angular-devkit/build-angular   16.0.0
@angular-devkit/core            16.0.0
@angular-devkit/schematics      16.0.0
@schematics/angular             16.0.0
rxjs                            7.8.1
typescript                      5.0.4

elier avatar Aug 26 '23 19:08 elier

Temporary workaround until it is fixed:

  • Install the package
  • Go to \node_modules@azure\ng-deploy\out\ng-add\schema.json
  • Change id into $id

DanielBertocci avatar Sep 03 '23 09:09 DanielBertocci