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]: nodejs-lts will no longer update #6467

Open
3 tasks done
havremunken opened this issue Jan 17, 2025 · 0 comments
Open
3 tasks done

[Bug]: nodejs-lts will no longer update #6467

havremunken opened this issue Jan 17, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@havremunken
Copy link

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

nodejs-lts

Expected/Current Behaviour

After a long and happy relationship with nodejs-lts, it recently started refusing to update. Output of update attempt in "Steps to Reproduce".

Steps to Reproduce

scoop update *
nodejs-lts: 22.12.0 -> 22.13.0
Updating one outdated app:
Updating 'nodejs-lts' (22.12.0 -> 22.13.0)
Downloading new version
Loading node-v22.13.0-win-x64.7z from cache
Checking hash of node-v22.13.0-win-x64.7z ... ok.
Invoke-HookScript: C:\Users\havremunken\scoop\apps\scoop\current\libexec\scoop-update.ps1:340
Line |
 340 |  … -HookScript -HookType 'pre_uninstall' -Manifest $old_manifest -Arch $ …
     |                                                    ~~~~~~~~~~~~~
     | Cannot validate argument on parameter 'Manifest'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.
Uninstalling 'nodejs-lts' (22.12.0)
Invoke-HookScript: C:\Users\havremunken\scoop\apps\scoop\current\lib\install.ps1:710
Line |
 710 |      Invoke-HookScript -HookType $type -Manifest $Manifest -ProcessorA …
     |                                                  ~~~~~~~~~
     | Cannot validate argument on parameter 'Manifest'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.
Unlinking ~\scoop\apps\nodejs-lts\current
Remove-Item: C:\Users\havremunken\scoop\apps\scoop\current\lib\install.ps1:842
Line |
 842 |          Remove-Item $currentdir -Recurse -Force -ErrorAction Stop
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot remove item C:\Users\havremunken\scoop\apps\nodejs-lts\current\bin: Access to the path 'C:\Users\havremunken\scoop\apps\nodejs-lts\current\bin' is denied.

Possible Solution

Sorry, no.

Scoop and Buckets Version

scoop --version
Current Scoop version:
859d1db5 (HEAD -> master, tag: v0.5.2, origin/master, origin/HEAD) chore(release): Bump to version 0.5.2 (#6080)

'main' bucket:
7f6377ff9 (HEAD -> master, origin/master, origin/HEAD) bun: Update to version 1.1.45

'extras' bucket:
9ed9f75cb (HEAD -> master, origin/master, origin/HEAD) webstorm: Update to version 2024.3.2-243.23654.120

'nirsoft' bucket:
b38031d (HEAD -> master, origin/master, origin/HEAD) updated manifests

'sysinternals' bucket:
4aa1b85 (HEAD -> main, origin/main, origin/HEAD) [email protected]: Remove `ctrl2cap.exe` bin

'nonportable' bucket:
20ae3d03 (HEAD -> master, origin/master, origin/HEAD) textpad8-np: Update to version 8.21.0

Scoop Config

scoop config

last_update         scoop_repo                              scoop_branch
-----------         ----------                              ------------
17.01.2025 20:02:10 https://github.com/ScoopInstaller/Scoop master

PowerShell Version

$PSVersionTable

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

Additional Softwares

Running in Windows Terminal version 1.21.3231.0.

@havremunken havremunken added the bug Something isn't working label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant