Skip to content
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

An unhandled exception occurred: NOT SUPPORTED: keyword "id", use "$id" for schema ID after running ng add @ngtoolkit/universal #902

Open
ntandoFromCosint opened this issue Sep 1, 2022 · 2 comments

Comments

@ntandoFromCosint
Copy link

I'm submitting a...


[x] Bug report  
[ ] Feature request
[ ] Documentation issue or request

In package


[ ] @ng-toolkit/init
[ ] @ng-toolkit/serverless
[x] @ng-toolkit/universal
[ ] @ng-toolkit/pwa
[ ] @ng-toolkit/firebug

Current behavior

I ran ng add @ng-toolkit/universal and got following response

ℹ Using package manager: npm
✔ Found compatible package version: @ng-toolkit/universal@1.1.21.
✔ Package information loaded.

The package @ng-toolkit/universal@1.1.21 will be installed and executed.
Would you like to proceed? Yes
✔ Package successfully installed.
An unhandled exception occurred: NOT SUPPORTED: keyword "id", use "$id" for schema ID
See "C:\Users\XXXXXXXXX\AppData\Local\Temp\ng-jiHkDu\angular-errors.log" for further details.

Expected behavior

No error after package successfully installs

Minimal reproduction of the problem with instructions

Create a simple angular project and run ng add @ng-toolkit/universal

Example repository

Private repository

What is the motivation / use case for changing the behavior?

I need to make my angular app SEO friendly

Environment



Angular CLI: 13.1.4
Node: 16.13.2
Package Manager: npm 8.3.2
OS: win32 x64

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

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1301.4
@angular-devkit/build-angular   13.1.4
@angular-devkit/core            13.1.4
@angular-devkit/schematics      13.1.4
@angular/cli                    13.1.4
@schematics/angular             13.1.4
rxjs                            7.4.0
typescript                      4.5.5

- Windows 10 Home Single Language 

Others:

IDE-VSCode
Package Manager: npm

@andriyrusyn
Copy link

having the same issue

@arturzangiev
Copy link

Have the same issue

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

3 participants