Update get-started-component.md

Add one note  if someone start this chapter without stop the sidecar with same app-id.
This commit is contained in:
Wood-Xia 2021-07-10 16:07:07 +08:00 committed by GitHub
parent 457891fb0f
commit 08c28e3e9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -65,6 +65,12 @@ Run the following command to launch a Dapr sidecar that will listen on port 3500
dapr run --app-id myapp --dapr-http-port 3500 --components-path ./my-components
```
*note*:
If you follow [previous step]({{<ref get-started-api.md>}}) completely without stop the running sidecar, and run above command in new terminal, then you will get error message like below:
```bash
dapr with ID myapp is already running
```
You could fix this problem by "Control-C" to stop the running sidecar in previous terminal.
## Step 4: Get a secret
In a separate terminal run: