Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example-Forum GraphQL error: Unknown type "MultiPostInput" on deployed app #86

Open
adalidda opened this issue Sep 14, 2018 · 3 comments

Comments

@adalidda
Copy link

Hi,

My Example-Forum app run well in local mode (using the latest build of VulcanJS and Vulcan-Starter). I deployed it to my server with Mup version 1.4.5. The deploy went well and I have my app running on my test server at https://nova.adalidda.com/

However, I got the following GraphQL error:
Error: GraphQL error: Unknown type "MultiPostInput". Did you mean "PostsInput"?
GraphQL error: Cannot query field "posts" on type "Query".
at new t (762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7)
at n.currentResult (762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7)
at s.dataForChild (762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7)
at s.render (762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7)
at s (762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7)
at beginWork (762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7)
at r (762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7)
at i (762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7)
at a (762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7)
at T (762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7)

Unhandled (in react-apollo) Error: GraphQL error: Cannot query field "locale" on type "User".
at new t (https://nova.adalidda.com/762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7:587400)
at n.currentResult (https://nova.adalidda.com/762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7:589541)
at s.dataForChild (https://nova.adalidda.com/762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7:552763)
at s.render (https://nova.adalidda.com/762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7:553603)
at s (https://nova.adalidda.com/762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7:965417)
at beginWork (https://nova.adalidda.com/762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7:967123)
at r (https://nova.adalidda.com/762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7:979250)
at i (https://nova.adalidda.com/762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7:979571)
at a (https://nova.adalidda.com/762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7:979807)
at T (https://nova.adalidda.com/762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7:983336)

What is wrong ?

Thank You
Adalidda

@SachaG
Copy link
Contributor

SachaG commented Sep 14, 2018

Is it possible that somehow your server is not properly updated? I would try to redeploy.

@Apollinaire
Copy link
Member

It looks like your schema is still using the pre-1.12 way to do graphql :
graphql-erd 1
See the PostsList query instead of the posts query.

@adalidda
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants