0

这就是在我的应用程序中导入 gql 的方式

import gql from "graphql-tag";

但仍然收到此错误

[Sun Jun 06 2021 15:12:57.243]  ERROR    TypeError: Object is not a function (near '...(0, _graphqlTag.default)...')
[Sun Jun 06 2021 15:12:57.243]  ERROR    Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)
[Sun Jun 06 2021 15:12:57.244]  ERROR    Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)

错误图像

4

0 回答 0