cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Unknown directive "relation"

Hello All,

I am trying grand-stack and getting the below error with API when I try to start

grand-stack-starter-api@0.0.1 start C:\Users\N19683\grand-stack-starter-master\api
nodemon --exec babel-node src/index.js

[nodemon] 1.18.9
[nodemon] to restart at any time, enter rs
[nodemon] watching: .
[nodemon] starting babel-node src/index.js
C:\Users\N19683\grand-stack-starter-master\api\node_modules\graphql\validation\validate.js:89
throw new Error(errors.map(function (error) {
^

Error: Unknown directive "relation".

Unknown directive "relation".

Unknown directive "cypher".

Unknown directive "cypher".

Unknown directive "relation".

Unknown directive "relation".

Unknown directive "relation".

Unknown directive "relation".

Unknown directive "relation".

Unknown directive "cypher".
at assertValidSDL (C:\Users\N19683\grand-stack-starter-master\api\node_modules\graphql\validation\validate.js:89:11)

Can anyone please help to fix the issue! Thanks in advance

1 REPLY 1

MuddyBootsCode
Graph Steward

Do you have a copy of your schema? Also, what DB instance do you have your API pointed at? Because if it's a Neo4j instance that doesn't have APOC installed it might be giving you these issues as well.