Closed pezcode closed 2 months ago
nodejs
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: [] }
scoop install nodejs npm
No fix, but two workarounds:
scoop install nodejs@21.7.3
nodejs-lts
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)
last_update scoop_repo scoop_branch ----------- ---------- ------------ 4/26/2024 12:27:33 PM https://github.com/ScoopInstaller/Scoop master
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.0
No response
The specified manifest [Bug]: nodejs does not exist in this bucket. Make sure you opened the issue in the correct bucket.
[Bug]: nodejs
Prerequisites
Package Name
nodejs
Expected/Current Behaviour
Installing nodejs (22.0.0) and then running npm produces:
Steps to Reproduce
Possible Solution
No fix, but two workarounds:
scoop install nodejs@21.7.3
nodejs-lts
insteadScoop and Buckets Version
Scoop Config
PowerShell Version
Additional Softwares
No response