[BUG] <title> I don't Know
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 15/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 活跃
- 技术栈
- javascript, nodejs, vite
- 领域
- build-system, tooling
调研方向
The stack trace points to node_modules/rolldown/dist/shared/binding-Dv--ZLtl.mjs and the optional package @rolldown/binding-win32-x64-msvc, whose rolldown-binding.win32-x64-msvc.node file was blocked by an Application Control policy. Start by checking whether that native file exists and can be loaded on Windows, then decide whether the fault lies in npm's optional-dependency install, rolldown, or the create-vite template. Done means the issue is triaged to the right project with a reproducible cause, since the title is an unfilled placeholder and no expected behavior is stated.
由索引模型根据 Issue 内容生成。
描述
Is there an existing issue for this?
- I have searched the existing issues
This issue exists in the latest npm version
- I am using the latest npm
This is not just a request to bump a dependency for a CVE
- This is not solely a request to bump a dependency for a CVE
Current Behavior
npm create vite@latest web
npm notice run npx
npm notice run ^"create-vite^" web
create-vite v9.4.0
│
◇ Select a framework:
│ React
│
◇ Select a variant:
│ JavaScript + React Compiler
│
◇ Which linter to use?
│ Oxlint
│
◇ Add Vite DevTools?
│ No
│
◇ Install with npm and start now?
│ Yes
│
◇ Scaffolding project in C:\Weekly Task\Task 37\web...
│
◇ Installing dependencies with npm...
added 66 packages, and audited 67 packages in 15s
14 packages are looking for funding
run npm fund for details
found 0 vulnerabilities
│
◇ Starting dev server...
npm notice run [email protected] dev
npm notice run vite
file:///C:/Weekly%20Task/Task%2037/web/node_modules/rolldown/dist/shared/binding-Dv--ZLtl.mjs:605
const error = /* @PURE */ new Error("Cannot find native binding. npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). Please try npm i again after removing both package-lock.json and node_modules directory.");
^
Error: Cannot find native binding. npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). Please try npm i again after removing both package-lock.json and node_modules directory.
at file:///C:/Weekly%20Task/Task%2037/web/node_modules/rolldown/dist/shared/binding-Dv--ZLtl.mjs:605:34
at file:///C:/Weekly%20Task/Task%2037/web/node_modules/rolldown/dist/shared/rolldown-runtime-BuRBZLzk.mjs:9:49
... 2 lines matching cause stack trace ...
at async node:internal/modules/esm/loader:650:26 {
cause: Error: Cannot find module '@rolldown/binding-wasm32-wasi'
Require stack:
- C:\Weekly Task\Task 37\web\node_modules\rolldown\dist\shared\binding-Dv--ZLtl.mjs
at file:///C:/Weekly%20Task/Task%2037/web/node_modules/rolldown/dist/shared/binding-Dv--ZLtl.mjs:493:18
... 6 lines matching cause stack trace ...
at async node:internal/modules/esm/loader:650:26 {
cause: Error: Cannot find module './rolldown-binding.wasi.cjs'
Require stack:- C:\Weekly Task\Task 37\web\node_modules\rolldown\dist\shared\binding-Dv--ZLtl.mjs
at file:///C:/Weekly%20Task/Task%2037/web/node_modules/rolldown/dist/shared/binding-Dv--ZLtl.mjs:493:18
... 6 lines matching cause stack trace ...
at async node:internal/modules/esm/loader:650:26 {
cause: Error: An Application Control policy has blocked this file.
\?\C:\Weekly Task\Task 37\web\node_modules@rolldown\binding-win32-x64-msvc\rolldown-binding.win32-x64-msvc.node
at file:///C:/Weekly%20Task/Task%2037/web/node_modules/rolldown/dist/shared/binding-Dv--ZLtl.mjs:493:18
... 6 lines matching cause stack trace ...
at async node:internal/modules/esm/loader:650:26 {
cause: Error: Cannot find module './rolldown-binding.win32-x64-msvc.node'
Require stack:- C:\Weekly Task\Task 37\web\node_modules\rolldown\dist\shared\binding-Dv--ZLtl.mjs
at file:///C:/Weekly%20Task/Task%2037/web/node_modules/rolldown/dist/shared/binding-Dv--ZLtl.mjs:493:18
at Array.reduce ()
at createLoadErrorChain (file:///C:/Weekly%20Task/Task%2037/web/node_modules/rolldown/dist/shared/binding-Dv--ZLtl.mjs:486:17)
at file:///C:/Weekly%20Task/Task%2037/web/node_modules/rolldown/dist/shared/binding-Dv--ZLtl.mjs:606:18
at file:///C:/Weekly%20Task/Task%2037/web/node_modules/rolldown/dist/shared/rolldown-runtime-BuRBZLzk.mjs:9:49
at file:///C:/Weekly%20Task/Task%2037/web/node_modules/rolldown/dist/shared/parse-CKFHq3Qc.mjs:4:46
at ModuleJob.run (node:internal/modules/esm/module_job:569:25)
at async node:internal/modules/esm/loader:650:26 {
cause: null
}
}
}
}
}
- C:\Weekly Task\Task 37\web\node_modules\rolldown\dist\shared\binding-Dv--ZLtl.mjs
- C:\Weekly Task\Task 37\web\node_modules\rolldown\dist\shared\binding-Dv--ZLtl.mjs
Node.js v26.7.0
npm error code 1
npm error path C:\Weekly Task\Task 37
npm error command failed
npm error command C:\Windows\system32\cmd.exe /d /s /c ^"create-vite^" web
npm error A complete log of this run can be found in: C:\Users\chara\AppData\Local\npm-cache_logs\2026-11-27T14_41_15_365Z-debug-0.log
Expected Behavior
No response
Steps To Reproduce
- In this environment...
- With this config...
- Run '...'
- See error...
Environment
- npm:
- Node.js:
- OS Name:
- System Model Name:
- npm config:
; copy and paste output from `npm config ls` here
- 主要语言
- JavaScript
- 星标
- 10.3k
- 派生
- 5k
- 平均合并
- 4 天 11 小时
- 30 天内合并 PR
- 26
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
npm/cli 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 2 天内回复
-
[BUG] scripts/dependency-graph.js splits npm-cli-repos.txt on os.EOL, so DEPENDENCIES.md depends on the checkout's line endings可能已有人在做 @saruk-vedant 于 7 天前认领。 未关闭Bug Needs Triage Triage Requested
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 2 天内回复
-
[BUG] npm pkg delete removes the first array item for a nonexistent property可能已有人在做 @drawliin 于 42 天前认领。 未关闭cmd:delete Priority 3
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 2 天内回复
-
create node pr: Node.js 20 deprecation & `DEP0040` warnings logged可能重新可做 关联的 PR 已关闭且未合并。 未关闭Engineering Priority 1
难度 1/5 1 小时以内 新手友好度 80/100
维护者通常 2 天内回复
-
`npm audit signatures` does not report how many packages it skipped for want of registry keys可能已有人在做 @greenlincoln05 于 63 天前认领。 未关闭Priority 3
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 2 天内回复
相似的 Issue
-
documentation
难度 1/5 1 小时以内 新手友好度 88/100
githubnext/gh-aw-workshop#6332 ·
维护者通常 1 天内回复
-
App Designer bug
难度 2/5 1-3 小时 新手友好度 78/100
avniproject/avni-webapp#1858 ·
-
bug
难度 1/5 1 小时以内 新手友好度 96/100
hiero-ledger/hiero-sdk-js#4834 ·
维护者通常 1 天内回复
-
[组件名称] 描述问题的标题未关闭🐞 bug 🧐 unconfirmed
难度 2/5 1-3 小时 新手友好度 68/100
Tencent/tdesign-miniprogram#4744 · 1 条评论 ·
维护者通常 1 天内回复
-
Y-axis tooltip hides near the bottom of the plot while the y crosshair stays visible可能已有人在做 @lazerg 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 82/100
apexcharts/apexcharts.js#5449 ·
维护者通常 3 天内回复