Skip to content
Discussion options

You must be logged in to vote

已修复:scripts/build.ts 不再假设 npm_execpath 一定是 JS 入口——runScript 现在
经共享 helper pnpmInvocation() 构造正确的命令与参数
(scripts/build.ts:15、18-20;scripts/pnpm-invocation.ts),修复提交
89674ed(2026-08-21,"fix(build): support standalone pnpm entrypoints"),
已在当前 master(c291e7961a)上核实。

获取修复:更新到最新 master 后,pnpm 11(@pnpm/exe 的 ELF/.exe 入口)下
pnpm run build 正常,不再报 SyntaxError / ERR_UNKNOWN_FILE_EXTENSION。

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by SnowAmberX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants