graphql-cli / graphql-cli-voyager

GraphQL Voyager plugin for graphql-cli
MIT License
21 stars 3 forks source link

Unable to start multiple instances of graphql-cli-voyager #31

Open sjlongland opened 5 years ago

sjlongland commented 5 years ago

Hi,

I'm trying to launch a second instance of GraphQL voyager so I can compare two different schemas side-by-side. When I try to launch the second, it silently aborts, even if I specify a different port number with --port:

stuartl@vk4msl-ws ~/vrt/projects/widesky/core/graphql-schema $ npm ls -g graphql-cli-voyager
/usr/lib64
└── graphql-cli-voyager@0.1.3 
stuartl@vk4msl-ws ~/vrt/projects/widesky/core/graphql-schema $ graphql voyager --port 7001 schema.master.graphql 
Invalid project name specified
? Select a project: widesky
stuartl@vk4msl-ws ~/vrt/projects/widesky/core/graphql-schema $ echo $?
1

How do I launch the second instance?