阿波罗角错误//角项目将无法编译

时间:2018-10-10 15:05:44

标签: node.js angular node-modules apollo apollo-angular

尝试以角度编译项目时,出现以下错误

ERROR in node_modules/apollo-angular/Apollo.d.ts(1,100): error TS2305: Module '"/usr/app/node_modules/apollo-client/index"' has no exported member 'ApolloClientOptions'.
node_modules/apollo-angular/Apollo.d.ts(8,27): error TS2315: Type 'ApolloClient' is not generic.
node_modules/apollo-angular/Apollo.d.ts(13,18): error TS2315: Type 'ApolloClient' is not generic.
node_modules/apollo-angular/Apollo.d.ts(14,23): error TS2315: Type 'ApolloClient' is not generic.

我尝试卸载然后重新安装模块,但是我遇到了同样的错误……有人可以告诉我这些错误的确切含义吗?

我正在使用这些版本

阿波罗角:1.0.1,

节点:v8.12.0

0 个答案:

没有答案