cli
cli copied to clipboard
error downloading daprd binary
In Windows 10, trying to perform 'dapr init' in Powershell in administrator mode. Everytime i try dapr init it fails.
PS C:\Users\xxxxx> dapr init Making the jump to hyperspace... Container images will be pulled from Docker Hub Installing runtime version 1.7.4 Downloading binaries and setting up components... error downloading daprd binary: open C:\Users\xxxxx.dapr\bin/daprd_windows_amd64.zip: Access is denied.
Any suggestions would be much appreciated.
@pravpuru Can you create files manually in C:\Users
successfully
@hueifeng Yes, i'm able to create files. To be specific, in C:\Users\MyUserId\
Based on the description is to deny access, you can delete files in this directory? Try to delete daprd_windows_amd64.zip
to see if it has been occupied?
I'm able to delete any file in the directory. So I'm wondering if the error message is misleading.
I don't see daprd_windows_amd64.zip in the path C:\Users\xxxxx.dapr\bin after i get this error.
@pravpuru Are you getting this only in 'administrator' mode ? I just tried on my local, seems to be working fine. Can you try dapr uninstall --all
then do dapr init
.
@pravinpushkar I've tried that. Still no luck. Doing this worked for me. Downloaded the daprd_windows_amd64.zip manually and placed the extracted exe in the bin.
@pravpuru Any luck with this? Did you try setting the default home dir to some other folder where you have full permissions and do dapr init
set userprofile=<other directory>
dapr init
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.
@pravpuru Did you get a chance to try above suggestion, basically by setting a different home directory ?
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.