Graphcool / graphcool-framework

Apache License 2.0
1.77k stars 131 forks source link

Getting ! 'ENOENT': spawn cmd ENOENT on deploy #472

Closed Alex61NN5 closed 6 years ago

Alex61NN5 commented 6 years ago

Hi, Im currently following the tutorial on howToGraphQl and when I run graphcool-framework deploy im getting this error

Auth URL: https://console.graph.cool/cli/auth?cliToken=cjdfcv6e70000ns100f8grmbi&authTrigger=auth
Authenticating... -
 !    'ENOENT': spawn cmd ENOENT

Get in touch if you need help: https://www.graph.cool/forum
To get more detailed output, run $ export DEBUG="*"

What Ive done to get to this as per the tutorial:

run graphcool-framework init server and recieved the correct response

Written files:
├─ types.graphql
├─ src
│  ├─ hello.js
│  └─ hello.graphql
├─ graphcool.yml
└─ package.json

To get started, cd into the new directory:
  cd server

To deploy your Graphcool service:
  graphcool deploy

To start your local Graphcool cluster:
  graphcool local up

To add facebook authentication to your service:
  graphcool add-template auth/facebook

You can find further instructions in the graphcool.yml file,
which is the central project configuration.

then I cd into the server folder

I altered the types.graphql file as instructed in the tutorial removing everything in the generated file and adding

type Link @model {
  id: ID! @isUnique     # required system field (read-only)
  createdAt: DateTime!  # optional system field (read-only)
  updatedAt: DateTime!  # optional system field (read-only)

  description: String!
  url: String!
}

then when I run graphcool-framework deploy I recieve the error, any help would be appreciated!

Thanks