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

pnpm install 一直报依赖下不下来 #39

Closed
Sdh-ui opened this issue Nov 13, 2024 · 4 comments
Closed

pnpm install 一直报依赖下不下来 #39

Sdh-ui opened this issue Nov 13, 2024 · 4 comments

Comments

@Sdh-ui
Copy link

Sdh-ui commented Nov 13, 2024

pnpm install 一直报依赖下不下来,尝试了很多方法,包括pnpm缓存清除,node_modules删除重装还是不行
gifsicle 这个依赖主要是为了干啥的
.../gifsicle@5.2.0/node_modules/gifsicle postinstall$ node lib/install.js
│ ‼ getaddrinfo ENOENT raw.githubusercontent.com
│ ‼ gifsicle pre-build test failed
│ i compiling from source
│ × Error: Command failed: C:\Windows\system32\cmd.exe /s /c "autoreconf -ivf"
│ 'autoreconf' �����ڲ����ⲿ���Ҳ���ǿ����еij���
│ ���������ļ���
│ at D:\ProgramFiles\gitee\qianliang-user\node_modules.pnpm\execa@0.7.0\node_modules\execa\index.js:231:11
│ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
│ at async Promise.all (index 0)
└─ Failed in 9s at D:\ProgramFiles\gitee\qianliang-user\node_modules.pnpm\gifsicle@5.2.0\node_modules\gifsicle
node_modules/.pnpm/jpegtran-bin@5.0.2/node_modules/jpegtran-bin: Running postinstall script...
node_modules/.pnpm/esbuild@0.23.1/node_modules/esbuild: Running postinstall script, done in 2.7s
node_modules/.pnpm/esbuild@0.20.2/node_modules/esbuild: Running postinstall script, done in 2.2s
node_modules/.pnpm/optipng-bin@7.0.1/node_modules/optipng-bin: Running postinstall script...
node_modules/.pnpm/jpegtran-bin@6.0.1/node_modules/jpegtran-bin: Running postinstall script...
node_modules/.pnpm/mozjpeg@7.1.1/node_modules/mozjpeg: Running postinstall script...
 ELIFECYCLE  Command failed with exit code 1.
node_modules/.pnpm/cwebp-bin@6.1.2/node_modules/cwebp-bin: Running postinstall script...

@syylike
Copy link

syylike commented Nov 13, 2024

@Sdh-ui
Copy link
Author

Sdh-ui commented Nov 13, 2024

https://blog.csdn.net/Fantasywt/article/details/132673024 你看下这个

他这个框架 使用的是pnpm 安装依赖的,如果是npm 安装依赖失败,我之前倒是遇到过许多情况,这种pnpm不是很懂

@oyjt
Copy link
Owner

oyjt commented Nov 13, 2024

参考这个问题的回答 #23

@Sdh-ui
Copy link
Author

Sdh-ui commented Nov 14, 2024

参考这个问题的回答 #23

好的,谢谢!

@oyjt oyjt closed this as completed Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants