Skip to content

Schematic input does not validate against the Schema.Errors:Data path "" must NOT have additional properties(serverRouting). #30300

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
saneast opened this issue May 14, 2025 · 2 comments

Comments

@saneast
Copy link

saneast commented May 14, 2025

Command

generate

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

Angular CLI: 18.2.19

Description

I try to create an application via npx ng generate application firewall --style=scss --strict --standalone.Other projects on my computer (same angular cli version) can be generated successfully.

This is my angular.json:
`

angular.json

`

Minimal Reproduction

npx ng generate application firewall --style=scss --strict --standalone

Exception or Error

PS D:\copilot2.0\client> npx ng generate application firewall --style=scss --strict --standalone
? Do you want to enable Server-Side Rendering (SSR) and Static Site Generation (SSG/Prerendering)? no
Schematic input does not validate against the Schema: {"style":"scss","strict":true,"standalone":true,"name":"firewall","ssr":false,"routing":true,"prefix":"app","skipTe
sts":false,"skipPackageJson":false,"minimal":false,"skipInstall":false,"experimentalZoneless":false}
Errors:

  Data path "" must NOT have additional properties(serverRouting).

Your Environment

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

Angular CLI: 18.2.19
Node: 22.14.0
Package Manager: npm 10.9.2
OS: win32 x64

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

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1802.19
@angular-devkit/build-angular   18.2.19
@angular-devkit/core            18.2.19
@angular-devkit/schematics      18.2.19
@angular/cli                    18.2.19
@angular/material               18.2.14
@schematics/angular             18.2.19
rxjs                            7.8.2
typescript                      5.5.4
zone.js                         0.14.10

Anything else relevant?

No response

@saneast
Copy link
Author

saneast commented May 14, 2025

When I remove the below code in my angular.json,the error disappeared.But I think the error is too confusing and it seems to have nothing to do with serverRouting.
"cli": { "schematicCollections": [ "angular-eslint" ], "analytics": false }

@saneast saneast closed this as completed May 14, 2025
@saneast saneast changed the title Schematic input does not validate against the Schema Schematic input does not validate against the Schema.Errors:Data path "" must NOT have additional properties(serverRouting). May 14, 2025
@saneast
Copy link
Author

saneast commented May 14, 2025

Maybe it's because the "angular-eslint": "19.3.0" version is incompatible with angular18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant