原型反应阿波罗

时间:2018-12-11 23:15:31

标签: react-proptypes

任何人都可以让我知道为什么会发生以下错误。我正在使用graphql查询从数据库中获取数据,并在AUI中使用ApolloProvider在React UI中使用我的React版本是16.3

Uncaught TypeError: Cannot read property 'shape' of undefined
       at Object.<anonymous> (ApolloProvider.js:45)
       at __webpack_require__ (bootstrap 183d6d6702d9e6ca9a14:555)
       at fn (bootstrap 183d6d6702d9e6ca9a14:86)
       at Object.<anonymous> (browser.js:3)
       at __webpack_require__ (bootstrap 183d6d6702d9e6ca9a14:555)
       at fn (bootstrap 183d6d6702d9e6ca9a14:86)
       at Object.<anonymous> (UserListWithData3.js:17)
       at __webpack_require__ (bootstrap 183d6d6702d9e6ca9a14:555)
       at fn (bootstrap 183d6d6702d9e6ca9a14:86)
        at Object.<anonymous> (App.js:4)

0 个答案:

没有答案