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

Failed on installing Scoop #85

Open
abdulbadii opened this issue May 5, 2024 · 1 comment
Open

Failed on installing Scoop #85

abdulbadii opened this issue May 5, 2024 · 1 comment

Comments

@abdulbadii
Copy link

Description

follow 'Readme' instruction, but at step CLI, drop the folder path on 'D:\application\Scoop'

PS C:\Users\budi> .\install.ps1 -ScoopDir 'Scoop' -ScoopGlobalDir 'F:\GlobalScoopApps' -NoProxy
Initializing...
Downloading...
Extracting...
Creating shim...
Resolve-Path : Cannot find path 'C:\Users\budi\Scoop\shims\Scoop\apps\scoop\current\bin\scoop.ps1' because it does 
not exist.
At C:\Users\budi\install.ps1:313 char:21
+     $relativePath = Resolve-Path -Relative $path
+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\budi\S...t\bin\scoop.ps1:String) [Resolve-Path], ItemNotFo 
   undException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.ResolvePathCommand
 

PS C:\Users\budi\Scoop\shims> cd ..

PS C:\Users\budi\Scoop> dir


    Directory: C:\Users\budi\Scoop


Mode                 LastWriteTime         Length Name                                                             
----                 -------------         ------ ----                                                             
d-----          5/5/2024   1:55 AM                apps                                                             
d-----          5/5/2024   1:56 AM                buckets                                                          
d-----          5/5/2024   1:56 AM                shims  

So how is the correct way of CLI one ?

@LPG-VERSION
Copy link

image
Be sure to use the full path, the install.ps1 file is not compatible with relative paths

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants