Apollo-angular: Deploy with ivy error

Created on 24 Jul 2019  路  6Comments  路  Source: kamilkisiela/apollo-angular

Versions
"apollo-angular": "1.5.0"

Environment

Angular CLI: 8.1.2
Node: 10.15.3
OS: linux x64
Angular: 8.1.2
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router, service-worker

Package Version

@angular-devkit/architect 0.801.2
@angular-devkit/build-angular 0.801.2
@angular-devkit/build-optimizer 0.801.2
@angular-devkit/build-webpack 0.801.2
@angular-devkit/core 8.1.2
@angular-devkit/schematics 8.1.2
@angular/cdk 8.1.1
@angular/flex-layout 8.0.0-beta.26
@angular/material 8.1.1
@angular/material-moment-adapter 8.1.1
@ngtools/webpack 8.1.2
@schematics/angular 8.1.2
@schematics/update 0.801.2
rxjs 6.5.2
typescript 3.4.5
webpack 4.35.2

tsconfig.app.json

"angularCompilerOptions": { "enableIvy": true, "allowEmptyCodegenFiles": true }

Bug

When running the command ng build, with ivy active, I get the following error in terminal

WARNING in Entry point 'apollo-angular-link-http' contains deep imports into '/var/www/html/pwa-vimbo/node_modules/graphql/language/printer'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

WARNING in Entry point 'apollo-angular/testing' contains deep imports into '/var/www/html/pwa-vimbo/node_modules/graphql/language/printer'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

WARNING in Entry point 'apollo-angular/testing' contains deep imports into '/var/www/html/pwa-vimbo/node_modules/graphql/language/printer'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

WARNING in Entry point 'apollo-angular-link-http' contains deep imports into '/var/www/html/pwa-vimbo/node_modules/graphql/language/printer'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

WARNING in Entry point 'apollo-angular/testing' contains deep imports into '/var/www/html/pwa-vimbo/node_modules/graphql/language/printer'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

WARNING in Entry point 'apollo-angular-link-http' contains deep imports into '/var/www/html/pwa-vimbo/node_modules/graphql/language/printer'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

WARNING in Entry point 'apollo-angular/testing' contains deep imports into '/var/www/html/pwa-vimbo/node_modules/graphql/language/printer'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

WARNING in Entry point 'apollo-angular-link-http' contains deep imports into '/var/www/html/pwa-vimbo/node_modules/graphql/language/printer'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

WARNING in Entry point 'apollo-angular/testing' contains deep imports into '/var/www/html/pwa-vimbo/node_modules/graphql/language/printer'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

WARNING in Entry point 'apollo-angular-link-http' contains deep imports into '/var/www/html/pwa-vimbo/node_modules/graphql/language/printer'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

WARNING in Entry point 'apollo-angular/testing' contains deep imports into '/var/www/html/pwa-vimbo/node_modules/graphql/language/printer'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

WARNING in Entry point 'apollo-angular-link-http' contains deep imports into '/var/www/html/pwa-vimbo/node_modules/graphql/language/printer'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

WARNING in Entry point 'apollo-angular/testing' contains deep imports into '/var/www/html/pwa-vimbo/node_modules/graphql/language/printer'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

WARNING in Entry point 'apollo-angular-link-http' contains deep imports into '/var/www/html/pwa-vimbo/node_modules/graphql/language/printer'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

WARNING in Entry point 'apollo-angular/testing' contains deep imports into '/var/www/html/pwa-vimbo/node_modules/graphql/language/printer'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

WARNING in Entry point 'apollo-angular-link-http' contains deep imports into '/var/www/html/pwa-vimbo/node_modules/graphql/language/printer'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

WARNING in Entry point 'apollo-angular/testing' contains deep imports into '/var/www/html/pwa-vimbo/node_modules/graphql/language/printer'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

WARNING in Entry point 'apollo-angular-link-http' contains deep imports into '/var/www/html/pwa-vimbo/node_modules/graphql/language/printer'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

WARNING in Entry point 'apollo-angular/testing' contains deep imports into '/var/www/html/pwa-vimbo/node_modules/graphql/language/printer'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

WARNING in Entry point 'apollo-angular-link-http' contains deep imports into '/var/www/html/pwa-vimbo/node_modules/graphql/language/printer'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

WARNING in Entry point 'apollo-angular/testing' contains deep imports into '/var/www/html/pwa-vimbo/node_modules/graphql/language/printer'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

WARNING in Entry point 'apollo-angular-link-http' contains deep imports into '/var/www/html/pwa-vimbo/node_modules/graphql/language/printer'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

WARNING in Unknown member type: "[key: string]: (data: any) => void;

ERROR in Cannot combine @Input decorators with query decorators

Captura de Tela_selecionar 谩rea_20190724092912

Most helpful comment

@kamilkisiela the most recent version of apollo-angular-link-http-batch is 1.7.0 (I don't see 1.9.0 as you mentioned above). 1.7.0 still has the deep import issue. This is causing Angular 9 AOT build to get stuck on compiling this library
Compiling apollo-angular-link-http-batch : module as esm5

WARNING in Entry point 'apollo-angular-link-http-batch' contains deep imports into 'node_modules/graphql/language/printer'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

All 6 comments

Could you check v1.7.0?

@kamilkisiela updated to v1.7.0 but still still showing warning apollo-angular-link-http

Captura de Tela_selecionar 谩rea_20190903165510

Captura de Tela_selecionar 谩rea_20190903165713

Yeah but it's a warning. It's not breaking the build or anything. I will release a new version soon.

@GlauberF I release 1.9.0

Thanks @kamilkisiela

@kamilkisiela the most recent version of apollo-angular-link-http-batch is 1.7.0 (I don't see 1.9.0 as you mentioned above). 1.7.0 still has the deep import issue. This is causing Angular 9 AOT build to get stuck on compiling this library
Compiling apollo-angular-link-http-batch : module as esm5

WARNING in Entry point 'apollo-angular-link-http-batch' contains deep imports into 'node_modules/graphql/language/printer'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

patriknil90 picture patriknil90  路  7Comments

julmot picture julmot  路  3Comments

bkinsey808 picture bkinsey808  路  3Comments

juliescript picture juliescript  路  7Comments

simonhaenisch picture simonhaenisch  路  3Comments