ScoopInstaller / Main

📦 The default bucket for Scoop.
https://scoop.sh
The Unlicense
1.54k stars 919 forks source link

[Bug]: error installing neovim #5835

Closed shiena closed 1 month ago

shiena commented 1 month ago

Prerequisites

Package Name

neovim

Expected/Current Behaviour

Installation fails because nvim-qt.exe does not exist when extracting nvim-win64.zip.

Steps to Reproduce

PS> scoop install neovim
Installing 'neovim' (0.10.0) [64bit] from 'main' bucket
Loading nvim-win64.zip from cache
Checking hash of nvim-win64.zip ... ok.
Extracting nvim-win64.zip ... done.
Linking ~\scoop\apps\neovim\current => ~\scoop\apps\neovim\0.10.0
Creating shim for 'nvim'.
Creating shim for 'nvim-qt'.
Get-Command: C:\Users\shiena\scoop\apps\scoop\current\lib\install.ps1:783
Line |
 783 |              $bin = (Get-Command $target).Source
     |                      ~~~~~~~~~~~~~~~~~~~
     | The term 'bin\nvim-qt.exe' is not recognized as a name of a cmdlet, function, script file, or executable
     | program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
     | again.
Can't shim 'bin\nvim-qt.exe': File doesn't exist.

Possible Solution

Remove nvim-qt.exe from neovim.json.

Scoop and Buckets Version

PS> scoop --version
Current Scoop version:
d337bb1f (HEAD -> master, tag: v0.4.2, origin/master, origin/HEAD) chore(release): Bump to version 0.4.2 (#5964)

'main' bucket:
3f9948e07 (HEAD -> master, origin/master, origin/HEAD) scala: Update to version 3.4.2

'extras' bucket:
2f41e8a2a (HEAD -> master, origin/master, origin/HEAD) yuescript: Update to version 0.23.4

'versions' bucket:
262e30b62 (HEAD -> master, origin/master, origin/HEAD) sfsu-beta: Update to version 1.13.4-beta.2

'java' bucket:
8174e41f (HEAD -> master, origin/master, origin/HEAD) intellij-jbr17: Update to version 17.0.11-b1207.23

Scoop Config

PS> scoop config

last_update         scoop_repo                           scoop_branch
-----------         ----------                           ------------
2024/05/16 22:56:37 https://github.com/lukesampson/scoop master

PowerShell Version

PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.2
PSEdition                      Core
GitCommitId                    7.4.2
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Additional Softwares

No response