Skip to content
New issue

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

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

Already on GitHub? # to your account

Init command displaying faulty text #1305

Open
martinivanalfonso opened this issue Jul 20, 2020 · 2 comments
Open

Init command displaying faulty text #1305

martinivanalfonso opened this issue Jul 20, 2020 · 2 comments

Comments

@martinivanalfonso
Copy link

martinivanalfonso commented Jul 20, 2020

Describe the bug
Init command displaying text not readable on CLI. Windows 10. Git Bash.

To Reproduce
Steps to reproduce the behavior:

  1. Run command
    npx graphql-cli init
  2. See error
    ←[?25l←[32m?←[39m ←[1mWhat is the type of the project?←[22m←[0m ←[0m←[2m(Use arrow keys)←[22m ←[36m> Full Stack←[39m Frontend only Backend only ←[15D←[15C←[2K←[1A←[2K←[1A←[2K←[1A←[2K←[G←[32m?←[39m ←[1mWhat is the type of the project?←[22m←[0m ←[0m Full Stack Frontend only ←[36m> Backend only←[39m ←[15D←[15C←[2K←[1A←[2K←[1A←[2K←[1A←[2K←[G←[32m?←[39m ←[1mWhat is the type of the project?←[22m←[0m ←[0m ←[36m> Full Stack←[39m Frontend only Backend only ←[15D←[15C←[2K←[1A←[2K←[1A←[2K←[1A←[2K←[G←[32m?←[39m ←[1mWhat is the type of the project?←[22m←[0m ←[0m Full Stack Frontend only ←[36m> Backend only←[39m ←[15D←[15C←[2K←[1A←[2K←[1A←[2K←[1A←[2K←[G←[32m?←[39m ←[1mWhat is the type of the project?←[22m←[0m ←[0m ←[36m> Full Stack←[39m Frontend only Backend only ←[15D←[15C←[2K←[1A←[2K←[1A←[2K←[1A←[2K←[G←[32m?←[39m ←[1mWhat is the type of the project?←[22m←[0m ←[0m Full Stack ←[36m> Frontend only←[39m Backend only ←[15D←[15C←[2K←[1A←[2K←[1A←[2K←[1A←[2K←[G←[32m?←[39m ←[1mWhat is the type of the project?←[22m←[0m ←[0m Full Stack Frontend only ←[36m> Backend only←[39m ←[15D←[15C←[2K←[1A←[2K←[1A←[2K←[1A←[2K←[G←[32m?←[39m ←[1mWhat is the type of the project?←[22m←[0m ←[0m Full Stack ←[36m> Frontend only←[39m Backend only ←[15D←[15C←[2K←[1A←[2K←[1A←[2K←[1A←[2K←[G←[32m?←[39m ←[1mWhat is the type of the project?←[22m←[0m ←[0m ←[36m> Full Stack←[39m Frontend only Backend only ←[15D←[15C←[2K←[1A←[2K←[1A←[2K←[1A←[2K←[G←[32m?←[39m ←[1mWhat is the type of the project?←[22m←[0m ←[0m Full Stack Frontend only ←[36m> Backend only←[39m ←[15D←[15C←[2K←[1A←[2K←[1A←[2K←[1A←[2K←[G←[32m?←[39m ←[1mWhat is the type of the project?←[22m←[0m ←[0m ←[36m> Full Stack←[39m Frontend only Backend only ←[15D←[15C←[2K←[1A←[2K←[1A←[2K←[1A←[2K←[G←[32m?←[39m ←[1mWhat is the type of the project?←[22m←[0m ←[0m Full Stack ←[36m> Frontend only←[39m Backend only ←[15D←[15C←[2K←[1A←[2K←[1A←[2K←[1A←[2K←[G←[32m?←[39m ←[1mWhat is the type of the project?←[22m←[0m ←[0m Full Stack Frontend only ←[36m> Backend only←[39m ←[15D←[15C←[2K←[1A←[2K←[1A←[2K←[1A←[2K←[G←[32m?←[39m ←[1mWhat is the type of the project?←[22m←[0m ←[0m ←[36m> Full Stack←[39m Frontend only Backend only ←[15D←[15C←[2K←[1A←[2K←[1A←[2K←[1A←[2K←[G←[32m?←[39m ←[1mWhat is the type of the project?←[22m←[0m ←[0m←[36mFull Stack←[39m←[45D←[45C ←[?25h←[?25l←[32m?←[39m ←[1mSelect the best option for you←[22m←[0m ←[0m←[2m(Use arrow keys)←[22m ←[36m> I want to create a new project from a GraphQL CLI Project Template.←[39m I have an existing project using OpenAPI/Swagger Schema Definition. I have an existing project using GraphQL and want to add GraphQL CLI (run from project root). ←[96D←[96C←[2K←[1A←[2K←[1A←[2K←[1A←[2K←[G←[32m?←[39m ←[1mSelect the best option for you←[22m←[0m ←[0m I want to create a new project from a GraphQL CLI Project Template. ←[36m> I have an existing project using OpenAPI/Swagger Schema Definition.←[39m I have an existing project using GraphQL and want to add GraphQL CLI (run from project root). ←[96D←[96C←[2K←[1A←[2K←[1A←[2K←[1A←[2K←[G←[32m?←[39m ←[1mSelect the best option for you←[22m←[0m ←[0m I want to create a new project from a GraphQL CLI Project Template. I have an existing project using OpenAPI/Swagger Schema Definition.

Versions (please complete the following information):

  • OS: Windows 10
  • graphql-cli: latest
@wtrocki
Copy link
Collaborator

wtrocki commented Jul 21, 2020

Do you use Windows cmd? They do not support color display in this (as far I remember).
Any POSIX compatible cmd will work. Git bash etc.

@martinivanalfonso
Copy link
Author

martinivanalfonso commented Jul 22, 2020

Sorry forgot to mentioned it but I'm using Git bash.

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

No branches or pull requests

2 participants