Build fails on ionic prod - Apollo - graphql


#1

The build of my app fails with the following stacktrace

[14:32:20]  typescript: node_modules/graphql-anywhere/lib/src/directives.d.ts, line: 1 
            Cannot find type definition file for 'graphql'. 

[14:32:20]  typescript: node_modules/graphql-anywhere/lib/src/getFromAST.d.ts, line: 1 
[14:32:20]  typescript: node_modules/graphql-anywhere/lib/src/graphql.d.ts, line: 1 
       L1:  import { FieldNode, SelectionNode } from 'graphql';
       L2:  export declare type DirectiveInfo = {

            Cannot find type definition file for 'graphql'. 

       L1:  import { DocumentNode, OperationDefinitionNode, FragmentDefinitionNode } from 'graphql';
       L2:  export declare function getFragmentDefinitions(doc: DocumentNode): FragmentDefinitionNode[];

            Cannot find type definition file for 'graphql'. 

[14:32:20]  typescript: node_modules/graphql-anywhere/lib/src/utilities.d.ts, line: 1 
       L1:  import { DocumentNode } from 'graphql';
       L2:  import { FragmentMap } from './getFromAST';

            Cannot find type definition file for 'graphql'. 

       L1:  import { DocumentNode } from 'graphql';
       L2:  export declare function filter(doc: DocumentNode, data: any): any;

I have not idea what is wrong since it works fine on my local machine