`serialport` fails in `win11-vs2022_clang-arm64`
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 62/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- javascript, node.js
調査の方向性
まず lookup.json の serialport エントリと、platform/arch に skip を適用するコードを読んで、Windows arm64 の skip がどのように表現されるかを確認してください。失敗しているビルドが @parcel/watcher の node-gyp ステップで llvm-lib.exe を呼び出していることであり、skip はそれを修正するのではなく回避するためのものだと確認してください。完了とは、citgm が win11 arm64 では serialport を実行しなくなり、他の場所では引き続き実行されることであり、smoker のプラットフォーム照合に対して検証されます。
索引モデルが issue の本文から書いたものです。
説明
Situation
serialport fails in citgm-smoker running under win11-vs2022_clang-arm64 in Jenkins. Logs under https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/3805/nodes=win11-vs2022_clang-arm64/testReport/junit/(root)/citgm/serialport_v13_0_0/ (collaborator access only).
This is also reproducible in the GitHub Actions runner windows-11-vs2026-arm runner for Node.js versions 22, 24 & 26.
windows-11-vs2026-arm includes Visual Studio Enterprise 2026 with Clang.
| Item | Status |
|---|---|
| npm package | https://www.npmjs.com/package/serialport |
| npm status | not deprecated |
| last published | 13.0.0 Dec 24, 2024 |
| weekly downloads | 220,500 |
| repo location | https://github.com/serialport/node-serialport |
| repo last update to default branch | Jan 2, 2026 |
| repo status | quiet |
| repo CI status | runs in Node.js 18 - 22 (macos- ubuntu- windows-latest) |
| lookup version / HEAD | HEAD |
| lookup - skip | ppc 390x |
| lookup maintainer 1 | reconbot |
lookup.json settings are:
"serialport": {
"skip": ["ppc", "s390x"],
"head": true,
"tags": "native",
"maintainers": "reconbot"
},
Logs
npm error code 1
npm error path C:\Users\lhymbtjceacp\AppData\Local\Temp\3454ddb9\serialport\node_modules\@parcel\watcher
npm error command failed
npm error command C:\Windows\system32\cmd.exe /d /s /c node-gyp-build
npm error /LTCG:INCREMENTAL: no such file or directory
npm error C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1647,5): error MSB6006: "llvm-lib.exe" exited with code 1. [C:\Users\lhymbtjceacp\AppData\Local\Temp\3454ddb9\serialport\node_modules\@parcel\watcher\build\node_modules\node-addon-api\nothing.vcxproj]
npm error (node:8452) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
npm error (Use `node --trace-deprecation ...` to show where the warning was created)
npm error (node:8452) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated.
npm error Warning: unrecognized setting VCCLCompilerTool/LanguageStandard while converting to MSBuild.
npm error Warning: unrecognized setting VCCLCompilerTool/LanguageStandard_C while converting to MSBuild.
npm error Warning: unrecognized setting VCCLCompilerTool/LanguageStandard while converting to MSBuild.
npm error Warning: unrecognized setting VCCLCompilerTool/LanguageStandard_C while converting to MSBuild.
npm error Warning: unrecognized setting VCCLCompilerTool/LanguageStandard while converting to MSBuild.
npm error Warning: unrecognized setting VCCLCompilerTool/LanguageStandard_C while converting to MSBuild.
npm error Warning: unrecognized setting VCCLCompilerTool/LanguageStandard while converting to MSBuild.
npm error Warning: unrecognized setting VCCLCompilerTool/LanguageStandard_C while converting to MSBuild.
npm error gyp ERR! build error
npm error gyp ERR! stack Error: `C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\arm64\MSBuild.exe` failed with exit code: 1
npm error gyp ERR! stack at ChildProcess.onExit (C:\Users\lhymbtjceacp\AppData\Local\Temp\3454ddb9\serialport\node_modules\node-gyp\lib\build.js:203:23)
npm error gyp ERR! stack at ChildProcess.emit (node:events:514:28)
npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:324:12)
npm error gyp ERR! System Windows_NT 10.0.22621
npm error gyp ERR! command "d:\\workspace\\citgm-smoker\\node\\Release\\node.exe" "C:\\Users\\lhymbtjceacp\\AppData\\Local\\Temp\\3454ddb9\\serialport\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
npm error gyp ERR! cwd C:\Users\lhymbtjceacp\AppData\Local\Temp\3454ddb9\serialport\node_modules\@parcel\watcher
npm error gyp ERR! node -v v24.22.2
npm error gyp ERR! node-gyp -v v9.4.1
npm error gyp ERR! not ok
npm error A complete log of this run can be found in: d:\workspace\citgm-smoker\node\Release\npm-cache\_logs\2026-10-27T02_26_58_372Z-debug-0.log
Suggestion
- Check with @reconbot if there are plans to extend support in serialport to Windows arm64. GitHub Actions now supports a full set of arm64 runner images for Ubuntu & Windows (macOS was already arm64), so a test / CI environment would be available.
- Encourage also GitHub Actions CI update in serialport > test.yml to test against currently supported Node.js versions 24 & 26.
- In the meantime, skip serialport testing in citgm on Windows arm64
Related
https://serialport.io/docs/next/guide-platform-support
https://github.com/nodejs/citgm/issues/991#issuecomment-1742192125
i only officially support max Linux and windows on x64, arm is a very popular usecase but I don't have an easy way to test it.
- 主要言語
- JavaScript
- スター
- 608
- フォーク
- 163
- 平均マージ
- 2日 19時間
- マージ済み PR(30日)
- 20
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nodejs/citgm のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
nodejs/citgm#1207 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
`citgm-smoker` fails `express-session` in `alpine-latest-x64` (openssl: not found)再び着手できるかも @MikeMcC399 が 10 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
nodejs/citgm#1200 · コメント 6 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
`microtime` fails on macOS, Windows & Alpine Linux対応中かも @MikeMcC399 が 11 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
nodejs/citgm#1175 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
`@yarnpkg/cli` v4 fails in Node.js 22 (macos/ubuntu)対応中かも @MikeMcC399 が 9 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
nodejs/citgm#1164 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
FEATURE REQUEST
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
linuxmint/cinnamon-spices-extensions#1193 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Fei2411/DeepSeek-Bot#703 ·
-
area:web first-timers-only good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
career-ops-hq/career-ops#6264 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 83/100
cline/mcp-marketplace#3394 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
exelearning/exelearning#2677 ·
メンテナーはふだん 1 日以内に返信