-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Closed
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.npmIssues and PRs related to the npm client dependency or the npm registry.Issues and PRs related to the npm client dependency or the npm registry.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
Description
Version
22
Platform
Windows
Subsystem
No response
What steps will reproduce the bug?
npm install command is enough to reproduce the issue.
Example workflow: https://github.com/CycloneDX/cdxgen/actions/runs/8823813113/job/24236408405#step:10:18
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior? Why is that the expected behavior?
No response
What do you see instead?
node:internal/modules/cjs/loader:1205
throw err;
^
Error: Cannot find module 'C:\npm\prefix\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: []
}
Additional information
No response
Thanaen, westy92, ehmicky, student20880, cscnk52 and 24 morezloirock, Rafael-Leitao, eliatos74, timjbrown and Mayuri734
Metadata
Metadata
Assignees
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.npmIssues and PRs related to the npm client dependency or the npm registry.Issues and PRs related to the npm client dependency or the npm registry.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.