arco-design / arco-cli

CLI tool for Arco Design
https://arco.design/docs/material/guide
MIT License
203 stars 76 forks source link

初始化项目时,无法安装mozjpeg #84

Open luojunjiess opened 11 months ago

luojunjiess commented 11 months ago

Describe the bug A clear and concise description of what the bug is. image

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error
    
    npm ERR! code 1
    npm ERR! path /Users/luojunjie/company/testing_platform/platform-arco/node_modules/mozjpeg
    npm ERR! command failed
    npm ERR! command sh -c node lib/install.js
    npm ERR! compiling from source
    npm ERR! connect ECONNREFUSED 0.0.0.0:443
    npm ERR! mozjpeg pre-build test failed
    npm ERR! Error: Command failed: /bin/sh -c autoreconf -fiv
    npm ERR! autoreconf: export WARNINGS=
    npm ERR! autoreconf: Entering directory '.'
    npm ERR! autoreconf: configure.ac: not using Gettext
    npm ERR! autoreconf: running: aclocal --force
    npm ERR! autoreconf: configure.ac: tracing
    npm ERR! autoreconf: configure.ac: not using Libtool
    npm ERR! autoreconf: configure.ac: not using Intltool
    npm ERR! autoreconf: configure.ac: not using Gtkdoc
    npm ERR! autoreconf: running: /usr/local/Cellar/autoconf/2.71/bin/autoconf --force
    npm ERR! configure.ac:84: warning: The macro `AC_TRY_COMPILE' is obsolete.
    npm ERR! configure.ac:84: You should run autoupdate.
    npm ERR! ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
    npm ERR! configure.ac:84: the top level
    npm ERR! configure.ac:115: warning: The macro `AC_HEADER_STDC' is obsolete.
    npm ERR! configure.ac:115: You should run autoupdate.
    npm ERR! ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
    npm ERR! configure.ac:115: the top level
    npm ERR! configure.ac:128: warning: The macro `AC_TRY_RUN' is obsolete.
    npm ERR! configure.ac:128: You should run autoupdate.
    npm ERR! ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
    npm ERR! configure.ac:128: the top level
    npm ERR! configure.ac:164: warning: The macro `AC_HELP_STRING' is obsolete.
    npm ERR! configure.ac:164: You should run autoupdate.
    npm ERR! ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
    npm ERR! configure.ac:164: the top level
    npm ERR! configure.ac:167: warning: The macro `AC_HELP_STRING' is obsolete.
    npm ERR! configure.ac:167: You should run autoupdate.
    npm ERR! ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
    npm ERR! configure.ac:167: the top level
    npm ERR! configure.ac:210: warning: The macro `AC_HELP_STRING' is obsolete.
    npm ERR! configure.ac:210: You should run autoupdate.
    npm ERR! ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
    npm ERR! configure.ac:210: the top level
    npm ERR! configure.ac:291: warning: The macro `AC_TRY_COMPILE' is obsolete.
    npm ERR! configure.ac:291: You should run autoupdate.
    npm ERR! ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
    npm ERR! configure.ac:291: the top level
    npm ERR! configure.ac:289: warning: The macro `AC_TRY_COMPILE' is obsolete.
    npm ERR! configure.ac:289: You should run autoupdate.
    npm ERR! ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
    npm ERR! configure.ac:289: the top level
    npm ERR! configure.ac:287: warning: The macro `AC_TRY_COMPILE' is obsolete.
    npm ERR! configure.ac:287: You should run autoupdate.
    npm ERR! ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
    npm ERR! configure.ac:287: the top level
    npm ERR! configure.ac:285: warning: The macro `AC_TRY_COMPILE' is obsolete.
    npm ERR! configure.ac:285: You should run autoupdate.
    npm ERR! ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
    npm ERR! configure.ac:285: the top level
    npm ERR! configure.ac:299: warning: The macro `AC_HELP_STRING' is obsolete.
    npm ERR! configure.ac:299: You should run autoupdate.
    npm ERR! ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
    npm ERR! configure.ac:299: the top level
    npm ERR! configure.ac:318: warning: The macro `AC_HELP_STRING' is obsolete.
    npm ERR! configure.ac:318: You should run autoupdate.
    npm ERR! ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
    npm ERR! configure.ac:318: the top level
    npm ERR! configure.ac:341: warning: The macro `AC_HELP_STRING' is obsolete.
    npm ERR! configure.ac:341: You should run autoupdate.
    npm ERR! ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
    npm ERR! configure.ac:341: the top level
    npm ERR! configure.ac:353: warning: The macro `AC_HELP_STRING' is obsolete.
    npm ERR! configure.ac:353: You should run autoupdate.
    npm ERR! ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
    npm ERR! configure.ac:353: the top level
    npm ERR! configure.ac:388: warning: The macro `AC_HELP_STRING' is obsolete.
    npm ERR! configure.ac:388: You should run autoupdate.
    npm ERR! ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
    npm ERR! configure.ac:388: the top level
    npm ERR! configure.ac:433: warning: The macro `AC_HELP_STRING' is obsolete.
    npm ERR! configure.ac:433: You should run autoupdate.
    npm ERR! ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
    npm ERR! configure.ac:433: the top level
    npm ERR! configure.ac:449: warning: The macro `AC_HELP_STRING' is obsolete.
    npm ERR! configure.ac:449: You should run autoupdate.
    npm ERR! ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
    npm ERR! configure.ac:449: the top level
    npm ERR! configure.ac:463: warning: The macro `AC_FD_CC' is obsolete.
    npm ERR! configure.ac:463: You should run autoupdate.
    npm ERR! ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from...
    npm ERR! acinclude.m4:4: AC_PROG_NASM is expanded from...
    npm ERR! configure.ac:463: the top level
    npm ERR! configure.ac:468: warning: The macro `AC_FD_CC' is obsolete.
    npm ERR! configure.ac:468: You should run autoupdate.
    npm ERR! ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from...
    npm ERR! acinclude.m4:4: AC_PROG_NASM is expanded from...
    npm ERR! configure.ac:468: the top level
    npm ERR! configure.ac:23: error: possibly undefined macro: AC_PROG_LIBTOOL
    npm ERR!       If this token and others are legitimate, please use m4_pattern_allow.
    npm ERR!       See the Autoconf documentation.
    npm ERR! autoreconf: error: /usr/local/Cellar/autoconf/2.71/bin/autoconf failed with exit status: 1
    npm ERR!
    npm ERR!
    npm ERR!     at /Users/luojunjie/company/testing_platform/platform-arco/node_modules/bin-build/node_modules/execa/index.js:231:11
    npm ERR!     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    npm ERR!     at async Promise.all (index 0)

npm ERR! A complete log of this run can be found in: /Users/luojunjie/.npm/_logs/2023-07-31T11_47_47_733Z-debug-0.log



**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
 - OS: [e.g. MacOS]
 - node version [e.g. v16.13.1]

**Additional context**
Add any other context about the problem here.