Closed gitskybo closed 3 days ago
建议用pnpm吧
怀疑是不是网络问题 Error: read ENOTCONN
建议用pnpm吧
现在用的就是pnpm就行操作的呢
怀疑是不是网络问题 Error: read ENOTCONN
出去和不出去都报错的。
https://doc.vben.pro/guide/other/faq.html#%E4%BE%9D%E8%B5%96%E5%AE%89%E8%A3%85%E9%97%AE%E9%A2%98
试一下
多谢,目前已经尝试过重装node, pnpm, 重新下拉项目,pnpm reinstall 也不成功。尝试设置了npm和pnpm 镜像切换,国内外镜像都试过了
Version
Vben Admin V5
Describe the bug?
pnpm install Scope: all 41 workspace projects Lockfile is up to date, resolution step is skipped Packages: +1 + Progress: resolved 1, reused 1, downloaded 0, added 0, done . postinstall$ turbo run stub │ turbo 2.1.1 │ • Packages in scope: @vben-core/composables, @vben-core/design, @vben-core/icons, @vben-core/layout-ui, @vben-core/menu-ui, … │ • Running stub in 40 packages │ • Remote caching disabled │ @vben/turbo-run:stub: cache miss, executing e0c5046494ea38bf │ @vben/tailwind-config:stub: cache miss, executing d8996e007f0984c9 │ @vben/eslint-config:stub: cache miss, executing 7ad7ca2e3b435dcc │ @vben/node-utils:stub: cache miss, executing 23faa3cc79e3af77 │ @vben/vsh:stub: cache miss, executing d3988873df419e05 │ @vben/vite-config:stub: cache miss, executing 898e7bc3842c590f │ @vben/turbo-run:stub: │ @vben/turbo-run:stub: > @vben/turbo-run@5.2.1 stub D:\Dev\itskybo-open-vue\scripts\turbo-run │ @vben/turbo-run:stub: > pnpm unbuild --stub │ @vben/turbo-run:stub: │ @vben/tailwind-config:stub: │ @vben/tailwind-config:stub: > @vben/tailwind-config@5.2.1 stub D:\Dev\itskybo-open-vue\internal\tailwind-config │ @vben/tailwind-config:stub: > pnpm unbuild --stub │ @vben/tailwind-config:stub: │ @vben/turbo-run:stub: 'pnpm' �����ڲ����ⲿ���Ҳ���ǿ����еij��� │ @vben/turbo-run:stub: ���������ļ��� │ @vben/tailwind-config:stub: 'pnpm' �����ڲ����ⲿ���Ҳ���ǿ����еij��� │ @vben/tailwind-config:stub: ���������ļ��� │ @vben/turbo-run:stub: ELIFECYCLE Command failed with exit code 1. │ @vben/tailwind-config:stub: ELIFECYCLE Command failed with exit code 1. │ @vben/tailwind-config:stub: node:events:497 │ @vben/tailwind-config:stub: throw er; // Unhandled 'error' event │ @vben/tailwind-config:stub: ^ │ @vben/tailwind-config:stub: │ @vben/tailwind-config:stub: Error: read ENOTCONN │ @vben/tailwind-config:stub: at tryReadStart (node:net:703:20) │ @vben/tailwind-config:stub: at Socket._read (node:net:718:5) │ @vben/tailwind-config:stub: at Readable.read (node:internal/streams/readable:737:12) │ @vben/tailwind-config:stub: at Socket.read (node:net:773:39) │ @vben/tailwind-config:stub: at new Socket (node:net:487:12) │ @vben/tailwind-config:stub: at Object.Socket (node:net:356:41) │ @vben/tailwind-config:stub: at createSocket (node:internal/child_process:336:14) │ @vben/tailwind-config:stub: at ChildProcess.spawn (node:internal/child_process:451:23) │ @vben/tailwind-config:stub: at spawn (node:child_process:762:9) │ @vben/tailwind-config:stub: at run (C:\Users\fuen\AppData\Local\node\corepack\v1\pnpm\9.9.0\dist\pnpm.cjs:3755:16) │ @vben/tailwind-config:stub: Emitted 'error' event on Socket instance at: │ @vben/tailwind-config:stub: at emitErrorNT (node:internal/streams/destroy:169:8) │ @vben/tailwind-config:stub: at emitErrorCloseNT (node:internal/streams/destroy:128:3) │ @vben/tailwind-config:stub: at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { │ @vben/tailwind-config:stub: errno: -4053, │ @vben/tailwind-config:stub: code: 'ENOTCONN', │ @vben/tailwind-config:stub: syscall: 'read' │ @vben/tailwind-config:stub: } │ @vben/tailwind-config:stub: │ @vben/tailwind-config:stub: Node.js v20.17.0 │ @vben/turbo-run:stub: node:events:497 │ @vben/turbo-run:stub: throw er; // Unhandled 'error' event │ @vben/turbo-run:stub: ^ │ @vben/turbo-run:stub: │ @vben/turbo-run:stub: Error: read ENOTCONN │ @vben/turbo-run:stub: at tryReadStart (node:net:703:20) │ @vben/turbo-run:stub: at Socket._read (node:net:718:5) │ @vben/turbo-run:stub: at Readable.read (node:internal/streams/readable:737:12) │ @vben/turbo-run:stub: at Socket.read (node:net:773:39) │ @vben/turbo-run:stub: at new Socket (node:net:487:12) │ @vben/turbo-run:stub: at Object.Socket (node:net:356:41) │ @vben/turbo-run:stub: at createSocket (node:internal/child_process:336:14) │ @vben/turbo-run:stub: at ChildProcess.spawn (node:internal/child_process:451:23) │ @vben/turbo-run:stub: at spawn (node:child_process:762:9) │ @vben/turbo-run:stub: at run (C:\Users\fuen\AppData\Local\node\corepack\v1\pnpm\9.9.0\dist\pnpm.cjs:3755:16) │ @vben/turbo-run:stub: Emitted 'error' event on Socket instance at: │ @vben/turbo-run:stub: at emitErrorNT (node:internal/streams/destroy:169:8) │ @vben/turbo-run:stub: at emitErrorCloseNT (node:internal/streams/destroy:128:3) │ @vben/turbo-run:stub: at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { │ @vben/turbo-run:stub: errno: -4053, │ @vben/turbo-run:stub: code: 'ENOTCONN', │ @vben/turbo-run:stub: syscall: 'read' │ @vben/turbo-run:stub: } │ @vben/turbo-run:stub: │ @vben/turbo-run:stub: Node.js v20.17.0 │ @vben/eslint-config:stub: │ @vben/eslint-config:stub: > @vben/eslint-config@5.0.0 stub D:\Dev\itskybo-open-vue\internal\lint-configs\eslint-config │ @vben/eslint-config:stub: > pnpm unbuild --stub │ @vben/eslint-config:stub: │ @vben/tailwind-config:stub: ERROR: command finished with error: command (D:\Dev\itskybo-open-vue\internal\tailwind-config) D… │ @vben/node-utils:stub: │ @vben/node-utils:stub: > @vben/node-utils@5.2.1 stub D:\Dev\itskybo-open-vue\internal\node-utils │ @vben/node-utils:stub: > pnpm unbuild --stub │ @vben/node-utils:stub: │ @vben/vsh:stub: │ @vben/vsh:stub: > @vben/vsh@5.2.1 stub D:\Dev\itskybo-open-vue\scripts\vsh │ @vben/vsh:stub: > pnpm unbuild --stub │ @vben/vsh:stub: │ @vben/node-utils:stub: 'pnpm' �����ڲ����ⲿ���Ҳ���ǿ����еij��� │ @vben/vsh:stub: 'pnpm' �����ڲ����ⲿ���Ҳ���ǿ����еij��� │ @vben/node-utils:stub: ���������ļ��� │ @vben/vsh:stub: ���������ļ��� │ @vben/tailwind-config#stub: command (D:\Dev\itskybo-open-vue\internal\tailwind-config) D:\Program Files\nodejs\pnpm.CMD run … │ Tasks: 0 successful, 6 total │ Cached: 0 cached, 6 total │ Time: 1.901s │ Failed: @vben/tailwind-config#stub │ ERROR run failed: command exited (1) └─ Failed in 2.4s at D:\Dev\itskybo-open-vue ELIFECYCLE Command failed with exit code 1.
Reproduction
开始开始时就遇到了
System Info
Relevant log output
No response
Validations