Skip to content
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] An object at the specified path ... ... does not exist. #6194

Open
ETime-Github opened this issue Oct 17, 2024 · 0 comments
Open

[Bug] An object at the specified path ... ... does not exist. #6194

ETime-Github opened this issue Oct 17, 2024 · 0 comments
Labels

Comments

@ETime-Github
Copy link

Bug Report

Current Behavior

When update scoop saied scoop.ps1 does not exist. But it actually exists.
I update about once a week and it prompts this error.
If I update a few times in a short period of time, it won't get an error, but I haven't tested how long the intervals are.

Expected Behavior

No error.

Additional context/output

 $ scoop update *
Updating Scoop...
Remove-Item: Scoop\apps\scoop\current\lib\core.ps1:943
Line |
 943 |              Remove-Item -Path "$shim.$path_app" -Force -ErrorAction S …
     |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | An object at the specified path Scoop\shims\scoop.ps1. does not exist.
WARN  Overwriting shim ('scoop.ps1' -> 'scoop.ps1') installed from scoop
Remove-Item: Scoop\apps\scoop\current\lib\core.ps1:943
Line |
 943 |              Remove-Item -Path "$shim.$path_app" -Force -ErrorAction S …
     |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | An object at the specified path Scoop\shims\scoop.cmd. does not exist.
WARN  Overwriting shim ('scoop.cmd' -> 'scoop.ps1') installed from scoop
Remove-Item: Scoop\apps\scoop\current\lib\core.ps1:943
Line |
 943 |              Remove-Item -Path "$shim.$path_app" -Force -ErrorAction S …
     |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | An object at the specified path Scoop\shims\scoop. does not exist.
WARN  Overwriting shim ('scoop' -> 'scoop.ps1') installed from scoop

image
image

Possible Solution

System details

Windows version: [e.g. 7, 8, 10, 11]
11
OS architecture: [e.g. 32bit, 64bit, arm64]
64bit
PowerShell version: [output of "$($PSVersionTable.PSVersion)"]
7.4.5
Additional software: [(optional) e.g. ConEmu, Git]

Scoop Configuration

{
  "last_update": "2024-10-18T06:49:40.4465913+08:00",
  "proxy": "127.0.0.1:10809",
  "aria2-warning-enabled": false,
  "aria2-split": "16",
  "aria2-max-connection-per-server": "16",
  "aria2-min-split-size": "1M",
  "scoop_branch": "master",
  "scoop_repo": "https://github.com/ScoopInstaller/Scoop"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant