5838 verbose reify failed optional dependency /Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/tar-fs/node_modules/pump
5839 silly reify mark deleted [
5839 silly reify '/Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/tar-fs/node_modules/pump'
5839 silly reify ]
5840 verbose reify failed optional dependency /Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/tar-stream
5841 silly reify mark deleted [ '/Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/tar-stream' ]
5842 verbose reify failed optional dependency /Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/mimic-response
5843 silly reify mark deleted [ '/Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/mimic-response' ]
5844 verbose reify failed optional dependency /Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/tar-stream/node_modules/bl
5845 silly reify mark deleted [
5845 silly reify '/Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/tar-stream/node_modules/bl'
5845 silly reify ]
5846 verbose reify failed optional dependency /Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/fs-constants
5847 silly reify mark deleted [ '/Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/fs-constants' ]
5848 verbose reify failed optional dependency /Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/to-buffer
5849 silly reify mark deleted [ '/Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/to-buffer' ]
5850 timing build:run:install:node_modules/snappy Completed in 968ms
5851 info run bufferutil@4.0.6 install { code: 0, signal: null }
5852 timing build:run:install:node_modules/bufferutil Completed in 1253ms
5853 info run node-sass@4.14.1 install { code: 0, signal: null }
5854 timing build:run:install:node_modules/node-sass Completed in 1141ms
5855 timing build:run:install Completed in 1326ms
5856 info run core-js@3.6.5 postinstall node_modules/core-js node -e "try{require('./postinstall')}catch(e){}"
5857 info run ejs@2.7.4 postinstall node_modules/ejs node ./postinstall.js
5858 info run es5-ext@0.10.61 postinstall node_modules/es5-ext node -e "try{require('./_postinstall')}catch(e){}" || exit 0
5859 info run node-sass@4.14.1 postinstall node_modules/node-sass node scripts/build.js
5860 info run core-js@3.22.7 postinstall node_modules/@vue/babel-preset-app/node_modules/core-js node -e "try{require('./postinstall')}catch(e){}"
5861 info run core-js@2.6.12 postinstall node_modules/babel-runtime/node_modules/core-js node -e "try{require('./postinstall')}catch(e){}"
5862 info run core-js@2.6.12 postinstall node_modules/node-plop/node_modules/core-js node -e "try{require('./postinstall')}catch(e){}"
5863 info run es5-ext@0.10.61 postinstall { code: 0, signal: null }
5864 timing build:run:postinstall:node_modules/es5-ext Completed in 219ms
5865 info run core-js@3.22.7 postinstall { code: 0, signal: null }
5866 timing build:run:postinstall:node_modules/@vue/babel-preset-app/node_modules/core-js Completed in 127ms
5867 info run ejs@2.7.4 postinstall { code: 0, signal: null }
5868 timing build:run:postinstall:node_modules/ejs Completed in 275ms
5869 info run core-js@3.6.5 postinstall { code: 0, signal: null }
5870 timing build:run:postinstall:node_modules/core-js Completed in 324ms
5871 info run core-js@2.6.12 postinstall { code: 0, signal: null }
5872 timing build:run:postinstall:node_modules/babel-runtime/node_modules/core-js Completed in 115ms
5873 info run core-js@2.6.12 postinstall { code: 0, signal: null }
5874 timing build:run:postinstall:node_modules/node-plop/node_modules/core-js Completed in 117ms
5875 info run node-sass@4.14.1 postinstall { code: 1, signal: null }
5876 timing reify:rollback:createSparse Completed in 6678ms
5877 timing reify:rollback:retireShallow Completed in 1ms
5878 timing command:install Completed in 138761ms
5879 verbose stack Error: command failed
5879 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
5879 verbose stack at ChildProcess.emit (node:events:526:28)
5879 verbose stack at maybeClose (node:internal/child_process:1092:16)
5879 verbose stack at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
5880 verbose pkgid node-sass@4.14.1
5881 verbose cwd /Users/lvzhiyong/code/sso/ruoyi-ui
5882 verbose Darwin 21.4.0
5883 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
5884 verbose node v16.14.2
5885 verbose npm v8.5.0
5886 error code 1
5887 error path /Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/node-sass
5888 error command failed
5889 error command sh -c node scripts/build.js
5890 error Building: /usr/local/bin/node /Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
5891 error gyp info it worked if it ends with ok
5891 error gyp verb cli [
5891 error gyp verb cli '/usr/local/bin/node',
5891 error gyp verb cli '/Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/node-gyp/bin/node-gyp.js',
5891 error gyp verb cli 'rebuild',
5891 error gyp verb cli '--verbose',
5891 error gyp verb cli '--libsass_ext=',
5891 error gyp verb cli '--libsass_cflags=',
5891 error gyp verb cli '--libsass_ldflags=',
5891 error gyp verb cli '--libsass_library='
5891 error gyp verb cli ]
5891 error gyp info using node-gyp@3.8.0
5891 error gyp info using node@16.14.2 | darwin | x64
5891 error gyp verb command rebuild []
5891 error gyp verb command clean []
5891 error gyp verb clean removing "build" directory
5891 error gyp verb command configure []
5891 error gyp verb check python checking for Python executable "python2" in the PATH
5891 error gyp verb `which` failed Error: not found: python2
5891 error gyp verb `which` failed at getNotFoundError (/Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/which/which.js:13:12)
5891 error gyp verb `which` failed at F (/Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/which/which.js:68:19)
5891 error gyp verb `which` failed at E (/Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/which/which.js:80:29)
5891 error gyp verb `which` failed at /Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/which/which.js:89:16
5891 error gyp verb `which` failed at /Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/isexe/index.js:42:5
5891 error gyp verb `which` failed at /Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/isexe/mode.js:8:5
5891 error gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:198:21)
5891 error gyp verb `which` failed python2 Error: not found: python2
5891 error gyp verb `which` failed at getNotFoundError (/Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/which/which.js:13:12)
5891 error gyp verb `which` failed at F (/Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/which/which.js:68:19)
5891 error gyp verb `which` failed at E (/Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/which/which.js:80:29)
5891 error gyp verb `which` failed at /Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/which/which.js:89:16
5891 error gyp verb `which` failed at /Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/isexe/index.js:42:5
5891 error gyp verb `which` failed at /Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/isexe/mode.js:8:5
5891 error gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:198:21) {
5891 error gyp verb `which` failed code: 'ENOENT'
5891 error gyp verb `which` failed }
5891 error gyp verb check python checking for Python executable "python" in the PATH
5891 error gyp verb `which` failed Error: not found: python
5891 error gyp verb `which` failed at getNotFoundError (/Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/which/which.js:13:12)
5891 error gyp verb `which` failed at F (/Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/which/which.js:68:19)
5891 error gyp verb `which` failed at E (/Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/which/which.js:80:29)
5891 error gyp verb `which` failed at /Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/which/which.js:89:16
5891 error gyp verb `which` failed at /Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/isexe/index.js:42:5
5891 error gyp verb `which` failed at /Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/isexe/mode.js:8:5
5891 error gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:198:21)
5891 error gyp verb `which` failed python Error: not found: python
5891 error gyp verb `which` failed at getNotFoundError (/Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/which/which.js:13:12)
5891 error gyp verb `which` failed at F (/Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/which/which.js:68:19)
5891 error gyp verb `which` failed at E (/Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/which/which.js:80:29)
5891 error gyp verb `which` failed at /Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/which/which.js:89:16
5891 error gyp verb `which` failed at /Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/isexe/index.js:42:5
5891 error gyp verb `which` failed at /Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/isexe/mode.js:8:5
5891 error gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:198:21) {
5891 error gyp verb `which` failed code: 'ENOENT'
5891 error gyp verb `which` failed }
5891 error gyp ERR! configure error
5891 error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
5891 error gyp ERR! stack at PythonFinder.failNoPython (/Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/node-gyp/lib/configure.js:484:19)
5891 error gyp ERR! stack at PythonFinder.<anonymous> (/Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/node-gyp/lib/configure.js:406:16)
5891 error gyp ERR! stack at F (/Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/which/which.js:68:16)
5891 error gyp ERR! stack at E (/Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/which/which.js:80:29)
5891 error gyp ERR! stack at /Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/which/which.js:89:16
5891 error gyp ERR! stack at /Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/isexe/index.js:42:5
5891 error gyp ERR! stack at /Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/isexe/mode.js:8:5
5891 error gyp ERR! stack at FSReqCallback.oncomplete (node:fs:198:21)
5891 error gyp ERR! System Darwin 21.4.0
5891 error gyp ERR! command "/usr/local/bin/node" "/Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
5891 error gyp ERR! cwd /Users/lvzhiyong/code/sso/ruoyi-ui/node_modules/node-sass
5891 error gyp ERR! node -v v16.14.2
5891 error gyp ERR! node-gyp -v v3.8.0
5891 error gyp ERR! not ok
5891 error Build failed with error code: 1
5892 verbose exit 1
5893 timing npm Completed in 139080ms
5894 verbose unfinished npm timer reify 1653546925948
5895 verbose unfinished npm timer reify:build 1653547056073
5896 verbose unfinished npm timer build 1653547056078
5897 verbose unfinished npm timer build:deps 1653547056078
5898 verbose unfinished npm timer build:run:postinstall 1653547057502
5899 verbose unfinished npm timer build:run:postinstall:node_modules/node-sass 1653547057651
5900 verbose code 1
5901 error A complete log of this run can be found in:
5901 error /Users/lvzhiyong/.npm/_logs/2022-05-26T06_35_25_675Z-debug-0.log
以前运行过无数次今天拉一个项目,npm install的时候一一直报错,不管用官方镜像还是淘宝镜像都这样提示