Comments (5)
@Paddy-Hamilton make sure you run graphql create my-app --boilerplate node-advanced
instead of just cloning this repo
from node-graphql-server.
@wesbos thanks for getting back so quickly and for the info
I think i didn't explain the situation properly, and I fixed the issue. it turns out i was trying to query a auto generated prisma database server query from the client without importing it into the graphql server schema. which obviously it didn't like.
Thanks for the help.
Also looking forward to your course on this....seems like i need some help 😄
from node-graphql-server.
Turns out I cloned the repo instead of using the graphql-cli to start it- thanks!
from node-graphql-server.
Thanks @wesbos, we should definitely support this use case as well. I created an according issue here: #171.
from node-graphql-server.
@wesbos @marktani can you elaborate on how you solved this, am currently getting a very similar error
whilst trying to run on http://localhost:4000.
[GraphQL error]: Message: Unknown type "Int"., Location: [object Object], Path: undefined
[GraphQL error]: Message: Unknown type "Int"., Location: [object Object], Path: undefined
[GraphQL error]: Message: Cannot query field "postsConnection" on type "Query"., Location: [object Object], Path: undefined
[GraphQL error]: Message: Cannot query field "posts" on type "Query". Did you mean "post"?, Location: [object Object], Path: undefined
[GraphQL error]: Message: Cannot query field "img" on type "Post"., Location: [object Object], Path: undefined
[Network error]: Error: Response not successful: Received status code 400
from node-graphql-server.
Related Issues (20)
- Add yarn.lock to .gitignore HOT 2
- Install script brakes for `node-basic` HOT 1
- Support cloning repo
- Can't get boilerplate of Node Basic HOT 6
- Error: Duplicate "graphql" modules HOT 12
- `Loading (from {process.env.REACT_APP_GRAPHQL_ENDPOINT})`
- Reset Password Example HOT 2
- Improve node compatibility HOT 1
- Network error: Unexpected token < in JSON at position 0 HOT 13
- PRISMA_ENDPOINT incorrect - url has duplicate service name HOT 3
- Default value doesn't work HOT 1
- SyntaxError: Unexpected token ) HOT 3
- after upgrading to Prisma 1.7 , there are no folders HOT 6
- Single document for explanations and decisions
- Error on start server HOT 4
- no folders on advanced boilerplate install HOT 5
- CLI for GraphQL has changed HOT 3
- Node Graphql
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-graphql-server.