maciejtreder / ng-toolkit

:star: Angular tool-box! Start your PWA in two steps! Add Serverless support for existing projects and much more

Home Page:https://www.angular-universal-pwa.maciejtreder.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

ntandoFromCosint opened this issue · comments

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

having the same issue

Have the same issue