-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Convert-RepositoryUri : Cannot bind argument to parameter 'Uri' because it is an empty string. #4917
Comments
I was checking the code and am pretty sure it has something to do with the assumptions built into this line: Line 164 in aaa726c
|
This is a fresh new system, no prior installation or anything. We run an elevated powershell terminal, install scoop using
Reproduces every time. |
Here's the output of the git command on this system (it's empty):
|
Sure enough, it's not a git repo:
|
If I remove the "main" bucket and re-add it, then everything works:
|
At this point, the git command does indeed return a valid url:
|
If I try to run
|
Ok, got a workaround. Install scoop, install git and 7zip, remove the main bucket, readd the main bucket. Then everything works as before.
|
Okay, a hotfix will be added soon. |
Getting the same issue - work around has fixed it for now. |
Same for me |
It has been fixed in |
please fix |
My 'main' bucket no longer existed when I checked. So I ran 'scoop add bucket main' which worked fine. Then running 'scoop update' started working again. I can now run everything with scoop. Reinstalling everything was a pain though. |
Bug Report
Current Behavior
With scoop version 0.2.0,
scoop bucket add extras
generates an error:Since I'm running this in a script with
$ErrorActionPreference = "Stop"
, this causes the script to abort:Expected Behavior
Expect to be able to add a bucket without generating an error.
System details
Windows version: Windows Server 2016
OS architecture: 64bit
PowerShell version: 5.1.14393.5066
Scoop Configuration
The text was updated successfully, but these errors were encountered: