Closed NiloDrumond closed 1 year ago
sudo dapr init
Since you are running the command as sudo, your user's $HOME directory won't have .dapr
.
I would recommend
sudo dapr uninstall --all
dapr init
Then try running the same commands. It is clear that in case of dapr run
, it cannot find the .dapr
directory (as expected).
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as pinned, good first issue, help wanted or triaged/resolved. Thank you for your contributions.
CLI: 1.10.0 Runtime: 1.10.7
Expected Behavior
As step 5 of the getting started tutorial describes, a folder .dapr should be in my Home directory with the default components.
Actual Behavior
The default components folder is not being created when I run
sudo dapr init
:When I run
sudo dapr run --app-id myapp --dapr-http-port 3500
(which is the next step on the getting started tutorial) I get the following output:Which may or may not be related.
If I run
run
without sudo I get:It's also important to notice that running
sudo dapr init
gave no errors. Output:Running
sudo docker ps
also successfully listed the expected containers.Steps to Reproduce the Problem
Environment:
All I did was follow the getting started tutorial for local development:
wget -q https://raw.githubusercontent.com/dapr/cli/master/install/install.sh -O - | /bin/bash
sudo dapr init
Release Note
RELEASE NOTE: