1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

ng generate universal issue with run command

Discussão em 'Angular' iniciado por Silny ToJa, Setembro 24, 2024.

  1. Silny ToJa

    Silny ToJa Guest

    I am using new @angular/cli 18.2.5. I did:

    ng new my-app


    Next:

    ng add @nguniversal/express-engine


    I got error "NOT SUPPORTED: keyword "id", use "$id" for schema ID") but the installation was successful.

    And now I am trying:

    1. ng generate universal --client-project=my-app


    Error: Unknown argument: client-project

    2. ng generate universal


    Error: A collection and schematic is required during execution.

    I follow this documentation: https://angulardive.com/blog/implementing-angular-universal-in-your-existing-angular-application/

    I tested a lot of things, but can't find any solution for this. I am not sure if issue is releated to angular version (tried also angular 17), this error "NOT SUPPORTED: keyword "id", use "$id" for schema ID" or something else.

    Continue reading...

Compartilhe esta Página