opensource-repos-with-issues / consul

Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.
https://www.consul.io
Mozilla Public License 2.0
0 stars 0 forks source link

[CLOSED] consul-ui单独运行失败 #5

Open arturo-aparicio opened 2 years ago

arturo-aparicio commented 2 years ago

Issue by jqClub Monday Jul 25, 2022 at 11:34 GMT Originally opened as https://github.com/hashicorp/consul/issues/13876


When filing a bug, please include the following headings if possible. Any example text in this template can be deleted.

Overview of the Issue

consul-ui单独运行失败

Reproduction Steps

1.cd ui/packages/consul-ui 2.yarn install 3.yarn start image

Describe the solution you'd like

运行失败

Consul Version

Consul v1.12.2

Browser and Operating system details

ember-cli: 3.20.2 node: 14.20.0 os: darwin x64

Screengrabs / Web Inspector logs

If you think it's worthwhile, include appropriate screengrabs showing the error/area for improvement. Try to include the URL bar of the browser so we can see the current URL where the error manifests. Please be careful to obfuscate any sensitive information either in the URL or in the browser page itself.

arturo-aparicio commented 2 years ago

Comment by Amier3 Monday Jul 25, 2022 at 13:47 GMT


Hey @jqClub

Are you attempting to access the Consul UI? If you're running a consul agent -dev cluster, the UI is enabled automatically and you can access just by going to localhost:8500/ui . If you're running a production cluster, you will have to configure the UI in your agent config. See this documentation for more information 👍

arturo-aparicio commented 2 years ago

Comment by jqClub Monday Jul 25, 2022 at 23:38 GMT


I just want to run the Consul-UI alone In the local,Don't run anything else(我只想在本地单独运行ui界面,而不启动其他)。 This is the document that runs separately:https://github.com/hashicorp/consul/tree/main/ui/packages/consul-ui image

arturo-aparicio commented 2 years ago

Comment by Amier3 Tuesday Jul 26, 2022 at 20:13 GMT


@jqClub

Oh I see. Thanks for the clarification. I was able to build the UI roughly using the same steps ( had to run yarn start instead of make start, but it looks like you did that already ) . I think at some point your local git repo got corrupted. Does running git status give you that same " Not a git repository " error message?

arturo-aparicio commented 2 years ago

Comment by jqClub Thursday Jul 28, 2022 at 10:31 GMT


I found the problem and dealt with it。I should be use git clone,but not Direct download。