Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci): cannot release macOS APP (#957)
error message: ``` node_modules/macos-alias install: Traceback (most recent call last): node_modules/macos-alias install: File "/Users/runner/work/Follow/Follow/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module> node_modules/macos-alias install: import gyp # noqa: E402 node_modules/macos-alias install: ^^^^^^^^^^ node_modules/macos-alias install: File "/Users/runner/work/Follow/Follow/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module> node_modules/macos-alias install: import gyp.input node_modules/macos-alias install: File "/Users/runner/work/Follow/Follow/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module> node_modules/macos-alias install: from distutils.version import StrictVersion node_modules/macos-alias install: ModuleNotFoundError: No module named 'distutils' node_modules/macos-alias install: gyp ERR! configure error node_modules/macos-alias install: gyp ERR! stack Error: `gyp` failed with exit code: 1 node_modules/macos-alias install: gyp ERR! stack at ChildProcess.onCpExit (/Users/runner/work/Follow/Follow/node_modules/node-gyp/lib/configure.js:325:16) node_modules/macos-alias install: gyp ERR! stack at ChildProcess.emit (node:events:519:28) node_modules/macos-alias install: gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12) node_modules/macos-alias install: gyp ERR! System Darwin 23.6.0 node_modules/macos-alias install: gyp ERR! command "/Users/runner/hostedtoolcache/node/22.9.0/arm64/bin/node" "/Users/runner/work/Follow/Follow/node_modules/.bin/node-gyp" "rebuild" node_modules/macos-alias install: gyp ERR! cwd /Users/runner/work/Follow/Follow/node_modules/macos-alias node_modules/macos-alias install: gyp ERR! node -v v22.9.0 node_modules/macos-alias install: gyp ERR! node-gyp -v v9.4.1 node_modules/macos-alias install: gyp ERR! not ok node_modules/macos-alias install: Failed ``` Repair refers to: actions/runner#2958 (comment) Test passed. Signed-off-by: Kevin Cui <[email protected]>
- Loading branch information