VulcanJS入门应用程序类型错误:IntrospectionFragmentMatcher不是构造函数

时间:2018-10-08 16:02:26

标签: meteor react-apollo apollo-client vulcanjs

克隆Vulcan-Starter回购并运行

npm install   # I did yarn install
npm start     # and then yarn run start

,当我打到根URL时,我在控制台中收到一个错误:

=> Started proxy.
=> A patch (Meteor 1.7.0.5) for your current release is available!
   Update this project now with 'meteor update --patch'.
=> Started MongoDB.
=> Started your app.

=> App running at: http://localhost:3000/
   Type Control-C twice to stop.

Exception in callback of async function: TypeError: IntrospectionFragmentMatcher is not a constructor
    at getFragmentMatcher (packages/vulcan:lib/lib/modules/fragment_matcher.js:17:10)
    at meteorClientConfig (packages/vulcan:lib/lib/modules/apollo.js:87:22)
    at createApolloClient (packages/vulcan:lib/lib/modules/apollo.js:104:27)
    at initRenderContextMiddleware (packages/vulcan:lib/lib/server/render_context.js:83:24)
    at runWithEnvironment (packages\meteor.js:1356:24)
    at packages\meteor.js:1369:14
    at newfn (packages/vulcan:lib/lib/server/meteor_patch.js:33:5)
    at F:\JS\.meteor\packages\promise\0.11.1\npm\node_modules\meteor-promise\fiber_pool.js:43:40

我该如何解决并使应用运行?

0 个答案:

没有答案