Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: pnpm install 出错 #45

Open
qew4 opened this issue Dec 8, 2022 · 15 comments
Open

Bug: pnpm install 出错 #45

qew4 opened this issue Dec 8, 2022 · 15 comments
Assignees
Labels
bug Something isn't working

Comments

@qew4
Copy link

qew4 commented Dec 8, 2022

bug4

我试过 node v14 和v16都一样的出错,无法安装。
pnpm 7.17.0。
win 10

@qew4 qew4 added the bug Something isn't working label Dec 8, 2022
@HongxuanG
Copy link

+1

1 similar comment
@erhulee
Copy link

erhulee commented Jan 29, 2023

+1

@qew4
Copy link
Author

qew4 commented Jan 29, 2023 via email

@xbx12138
Copy link

+1

1 similar comment
@FleeLight
Copy link

+1

@qew4
Copy link
Author

qew4 commented May 24, 2023 via email

@bianningtao
Copy link

怎么解决的

@qew4
Copy link
Author

qew4 commented Jun 8, 2023 via email

@qew4
Copy link
Author

qew4 commented Jun 9, 2023 via email

@bianningtao
Copy link

bianningtao commented Jun 9, 2023 via email

@a7345678
Copy link

可惜了一个好项目, pnpm install后报错了.
│ [build:runtime] > @mometa/editor-example@0.0.30 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 ] }

@a7345678
Copy link

image
问题解决了, 将这个命令删除后即可运行

@zhangzhen1979
Copy link

deepin环境,node v20.11版本,安装依然失败。提示脚本中有错误。

@imcuttle
Copy link
Owner

使用 pnpm@7 node@16 类linux 环境试试

@zhangzhen1979
Copy link

zhangzhen1979 commented Feb 27, 2024

使用 pnpm@7 node@16 类linux 环境试试

不行,依然install失败。
屏幕截图 2024-02-28 012232

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

9 participants