Why does a new Angular 19 app error when executing ng add apollo-angular?

Discussão em 'Angular' iniciado por mkelley33, Dezembro 10, 2024.

  1. mkelley33

    mkelley33 Guest

    I'm trying to add apollo-angular to my Angular 19 project, but I'm getting the following output in the terminal:

    We couldn't find 'esnext.asynciterable' in the list of library files
    to be included in the compilation.

    It's required by '@apollo/client/core' package so please add it to your tsconfig.


    We couldn't enable 'allowSyntheticDefaultImports' flag.
    It's required by '@apollo/client/core' package so please add it to your tsconfig.


    The command I'm running after creating a new Angular 19 project is ng add apollo-angular

    Does anyone know how to get rid of these errors when running ng add apollo-angular?

    Continue reading...

Compartilhe esta Página