mometa
mometa copied to clipboard
Bug: pnpm install 出错
我试过 node v14 和v16都一样的出错,无法安装。 pnpm 7.17.0。 win 10
+1
+1
信我已经收到 谢谢你!
+1
+1
信我已经收到 谢谢你!
怎么解决的
信我已经收到 谢谢你!
我没有解决。这个项目根本不能用!
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年6月8日(星期四) 中午11:28 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [imcuttle/mometa] Bug: pnpm install 出错 (Issue #45)
怎么解决的
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
好啊吧
| | ab2961513324 | | @.*** |
---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2023年06月09日 09:31 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [imcuttle/mometa] Bug: pnpm install 出错 (Issue #45) |
我没有解决。这个项目根本不能用!
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年6月8日(星期四) 中午11:28 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [imcuttle/mometa] Bug: pnpm install 出错 (Issue #45)
怎么解决的
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
可惜了一个好项目, pnpm install后报错了.
│ [build:runtime] > @mometa/[email protected] node
│ [build:runtime] > MOMETA_LOCAL=true NODE_OPTIONS="--loader ts-node/esm -r tsconfig-paths/register" node scripts/build.js
│ [build:runtime]
│ [build:runtime] (node:55555) ExperimentalWarning: Custom ESM Loaders is an experimental feature and might change at any time
│ [build:runtime] (Use node --trace-warnings ...
to show where the warning was created)
│ [build:app ] (node:55563) ExperimentalWarning: Custom ESM Loaders is an experimental feature and might change at any time
│ [build:app ] (Use node --trace-warnings ...
to show where the warning was created)
│ [build:runtime] Error [ERR_LOADER_CHAIN_INCOMPLETE]: "ts-node/esm 'resolve'" did not call the next hook in its chain and did not explicitly signal a short circuit. If this is intentional, include shortCircuit: true
in the hook's return.
│ [build:runtime] at new NodeError (node:internal/errors:405:5)
│ [build:runtime] at ESMLoader.resolve (node:internal/modules/esm/loader:843:13)
│ [build:runtime] at async ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:7) {
│ [build:runtime] code: 'ERR_LOADER_CHAIN_INCOMPLETE'
│ [build:runtime] }
│ [build:app ] Error [ERR_LOADER_CHAIN_INCOMPLETE]: "ts-node/esm 'resolve'" did not call the next hook in its chain and did not explicitly signal a short circuit. If this is intentional, include shortCircuit: true
in the hook's return.
│ [build:app ] at new NodeError (node:internal/errors:405:5)
│ [build:app ] at ESMLoader.resolve (node:internal/modules/esm/loader:843:13)
│ [build:app ] at async ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:7) {
│ [build:app ] code: 'ERR_LOADER_CHAIN_INCOMPLETE'
│ [build:app ] }
问题解决了, 将这个命令删除后即可运行
deepin环境,node v20.11版本,安装依然失败。提示脚本中有错误。
使用 pnpm@7 node@16 类linux 环境试试
使用 pnpm@7 node@16 类linux 环境试试
不行,依然install失败。