-
-
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
Installing anything new fails with multiple PS errors, 'local:url' not recognized #4444
Comments
already reinstalled scoop? |
Welp I was trying to avoid that since I have so many running services/apps installed with scoop but since I'm the one asking for help I figured I should go thru with the trouble so after I actually did run into the same errors from this issue when I tried The I tried to do a bit of exploring the src to try and come up with what may be a potential issue coming in powershell 7.2, but I'm not really well versed enough in debugging powershell (if anyone is...sorry to hate). Seems like the error is coming from the |
Currently, scoop is run on the current PowerShell instance, I guess your To confirm that, try using |
I believe at least one version of the same issue has been present for a long time, #4185, but was fixed. I've had the Pansies module disabled, but was able to enable it again once that issue was fixed. It seems that (#4342 and #4492) did not fix all instances of the issue. If I do "Remove-Module Pansies", the issue disappears. |
Could you point us to more instances of the code which causes the error? |
Sorry, this might not be exactly the same. I simply saw the same error that I've seen before, but I see now that he has "local:url" everywhere, and not "script:url" or simply "url" which was the issue before. But there is an error in the repo: Line 92 in 37a8869
"url" here should be "script:url", I would assume. Don't know very much about powershell coding, but that was the fix in my linked PRs and if you look just above, you'll see: Line 83 in 37a8869
Line 86 in 37a8869
|
Yes, looks like this was indeed overlooked. Can you make this change in your local Scoop folder and see if it resolves the Pansies error? |
Yes, that seems to fix it. |
Fixed. Thanks! |
Any attempts to install something throws multiple unexpected powershell errors from scoop's depends.ps1 & install.ps1
Steps to reproduce:
> scoop install wget
(tested with many apps)Output:
It's been a few weeks since I installed anything new via scoop, and updates have been working fine so I'm pretty stumpted as to what the actual underlying problem is and whether or not it's something specific to my env.
Any help would be greatly appreciated!
The text was updated successfully, but these errors were encountered: