Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't start use the library #33

Open
dvyguzov opened this issue Jun 26, 2022 · 1 comment
Open

Can't start use the library #33

dvyguzov opened this issue Jun 26, 2022 · 1 comment

Comments

@dvyguzov
Copy link

dvyguzov commented Jun 26, 2022

Hello!
I try to use this library, but it doesn't work for me. Can you help, please?
What's my wrong?
I use macOS.

The first way I tried:

  1. docker run -p 2525:2525 -d bashj79/mountebank-graphql
  2. I can get http://localhost:2525
  3. But can't get connet http://localhost:4000

The second way:

  1. npm install -g mb-graphql
  2. create protocols.json
  3. mb start --protofile protocols.json
  4. create imposter.json
  5. curl -i -X POST -H 'Content-Type: application/json' http://localhost:2525/imposters --data @imposter.json
  6. At localhost:2525/impostes I see graphql:4000. But when I try to get localhost:4000 I get "GET query missing"
@e-denar
Copy link

e-denar commented Aug 11, 2022

Hi @SomeUser777 , I was able to use it using specific mountebank version
npm install -g mountebank@2.4.0 mb-graphql@0.1.11 --production

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants