juicycleff / ultimate-backend

Multi tenant SaaS starter kit with cqrs graphql microservice architecture, apollo federation, event source and authentication
https://juicycleff.github.io/ultimate-backend-docs
MIT License
2.66k stars 411 forks source link

Fix: Error: unknown command "r" for "yq" while running yarn setup:local #233

Open jclaveau opened 2 years ago

jclaveau commented 2 years ago

While running yarn setup:local I get Error: unknown command "r" for "yq"

I installed yq on Ubuntu using sudo snap install yq In version:

yq --version
yq (https://github.com/mikefarah/yq/) version 4.16.2

Following the docs http://mikefarah.github.io/yq/, the r command doesn't seem to exist anymore whatever the OS is.

Btw, the README Configuration section says:

Before starting the services, please create the appropriate consul (Default service registry Consul) kv store config for all the services. You can find the example config in the folders of each service called config.example. The consul config key of say the account service should be ultimatebackend/config/io.ultimatebackend.srv.account and just paste the config.yaml content in the consul store for that key in yaml and save.

This seems out of date as the yarn setup:local script does the job and also misleading as the content to store as kv in Consul is taken from bootstrap-development.yaml

Anyway, thanks lot for for your work!