问题内容
npm ERR! code 1
npm ERR! path E:\WebProject\jeecgboot-vue3\node_modules\gifsicle
npm ERR! command failed
npm ERR! command C:\windows\system32\cmd.exe /d /s /c C:\Users\ADMINI~1\AppData\Local\Temp\postinstall-5d2ef6ec.cmd
npm ERR! ‼ getaddrinfo ENOENT raw.githubusercontent.com
npm ERR! ‼ gifsicle pre-build test failed
npm ERR! i compiling from source
npm ERR! × Error: Command failed: C:\windows\system32\cmd.exe /s /c "autoreconf -ivf"
npm ERR! 'autoreconf' �����ڲ����ⲿ���Ҳ���ǿ����еij���
npm ERR! ���������ļ���
npm ERR!
npm ERR!
npm ERR! at E:\WebProject\jeecgboot-vue3\node_modules\bin-build\node_modules\execa\index.js:231:11
npm ERR! at runMicrotasks (<anonymous>)
npm ERR! at processTicksAndRejections (node:internal/process/task_queues:96:5)
npm ERR! at async Promise.all (index 0)npm ERR! A complete log of this run can be found in:
npm ERR! C:\Program Files\nodejs\node_global\_logs\2022-11-17T05_36_43_229Z-debug-0.log
问题解决
1、移除文件夹node_modules
2、使用 cnpm install