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

fix(ci): cannot release macOS APP (#957) #1078

Merged
merged 1 commit into from
Oct 23, 2024
Merged

fix(ci): cannot release macOS APP (#957) #1078

merged 1 commit into from
Oct 23, 2024

Conversation

Innei
Copy link
Member

@Innei Innei commented Oct 23, 2024

No description provided.

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 <bh@bugs.cc>
Copy link

vercel bot commented Oct 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
follow ❌ Failed (Inspect) Oct 23, 2024 10:19am
follow-external-ssr ❌ Failed (Inspect) Oct 23, 2024 10:19am

@Innei Innei merged commit cd00a20 into main Oct 23, 2024
2 of 9 checks passed
@Innei Innei deleted the hotfix/ci branch October 23, 2024 10:19
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

Successfully merging this pull request may close these issues.

2 participants