Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
10-14-2019 07:15 AM
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
12-28-2019 05:07 AM
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.
All the sessions of the conference are now available online