-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
bugSomething isn't workingSomething isn't workingupstreamWaiting for upstream (the developers of the software) to fix the problemWaiting for upstream (the developers of the software) to fix the problem
Description
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
Expected/Current Behaviour
Installing nodejs (22.0.0) and then running npm produces:
node:internal/modules/cjs/loader:1205
throw err;
^
Error: Cannot find module 'C:\Users\chris\scoop\persist\nodejs\bin\node_modules\npm\bin\npm-cli.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1202:15)
at Module._load (node:internal/modules/cjs/loader:1027:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:187:14)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Steps to Reproduce
scoop install nodejs
npmPossible Solution
No fix, but two workarounds:
- install old version
scoop install [email protected] - install nodejs-lts instead
Scoop and Buckets Version
Current Scoop version:
d285bb08 (HEAD -> master, tag: v0.4.1, origin/master, origin/HEAD) chore(release): Bump to version 0.4.1 (#5924)
'main' bucket:
24cfbb1e5 (HEAD -> master, origin/master, origin/HEAD) rtools: Update to version 4.4.6104.6039 (#5753)Scoop Config
last_update scoop_repo scoop_branch
----------- ---------- ------------
4/26/2024 12:27:33 PM https://github.com/ScoopInstaller/Scoop masterPowerShell Version
Name Value
---- -----
PSVersion 7.4.2
PSEdition Core
GitCommitId 7.4.2
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.0Additional Softwares
No response
NemoStein, kazum1kun, maokwen and inkfin
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingupstreamWaiting for upstream (the developers of the software) to fix the problemWaiting for upstream (the developers of the software) to fix the problem