gramps-graphql / data-source-base

Boilerplate for creating a GrAMPS-compatible data source.
https://gramps.js.org/data-source/data-source-overview/
52 stars 8 forks source link

GrAMPS CLI is intended for local development only. #24

Open linh-le opened 6 years ago

linh-le commented 6 years ago

I'm getting this error after running "yarn dev".

I followed all three steps below:

npx graphql-cli create -b gramps-graphql/data-source-base data-source-mydata

# 📂 move into the newly-created data source
cd $_

# 🚀 start the GraphQL Playground with your spankin’ new data source
yarn dev

I read somewhere that it might have to do with my NODE_ENV so I set it to "local", but that doesn't work either. Could anyone help me debug this? Thanks!

Yarn version: 1.3.2 Node version: 8.9.4

I'm following the Quick Guide here - part 1 (which is essentially the 3 commands above)