dardub
01/01/2018, 9:55 PMgraphcool.yml should have required property 'stage'. missingProperty: stage
graphcool@1.0.0-beta2.1.1, graphql-cli@2.2.4, My graphcool.yml looks the same as the example here: https://github.com/graphql-boilerplates/node-graphql-server/blob/master/basic/graphcool.ymlharmony
01/01/2018, 10:28 PMJR Leonard
01/01/2018, 11:32 PMstage: dev
JR Leonard
01/01/2018, 11:34 PMgraphcool deploy
- OR -
graphcool deploy -s anotherdevstagename
(to change the target stage)dardub
01/01/2018, 11:43 PMJR Leonard
01/02/2018, 1:32 AMgraphcool deploy
complains if stage: dev
isn’t included in the file. However, yarn start
won’t launch unless you then remove that line from the file hahahaha. Here’s the error I get:
Server is running on http://localhost:4000
(node:88029) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: [ERROR] in /Users/allanleonardjr/workspace/my-app/node-basic/graphcool.yml:
graphcool.yml should NOT have additional properties. additionalProperty: stage
(node:88029) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.JR Leonard
01/02/2018, 8:17 AMnilan
01/02/2018, 9:12 AMnpm install -g graphcool@beta
npm install -g graphql-cli
graphql create my-app --boilerplate node-basic
cd my-app
graphcool deploy
Please create a bug report with more information on reproduction here: https://github.com/graphql-boilerplates/node-graphql-server 🙂nilan
01/02/2018, 9:24 AMnilan
01/02/2018, 12:12 PMnpm install -g graphcool@beta
JR Leonard
01/02/2018, 4:45 PM