`serialport` fails in `win11-vs2022_clang-arm64`
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 62/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, node.js
Hướng nghiên cứu
Bắt đầu bằng việc đọc mục serialport trong lookup.json và đoạn mã áp dụng skip cho platform/arch, để xem một skip cho Windows arm64 sẽ được biểu đạt như thế nào. Xác nhận rằng bản build đang lỗi là bước node-gyp của @parcel/watcher gọi llvm-lib.exe, mà skip nhằm tránh chứ không phải sửa. Hoàn tất nghĩa là citgm không còn chạy serialport trên win11 arm64 trong khi vẫn chạy ở nơi khác, được xác minh dựa trên việc khớp nền tảng của smoker.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- JavaScript
- Star
- 608
- Fork
- 163
- Merge trung bình
- 2 ngày 20 giờ
- Pull request đã merge (30 ngày)
- 14
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của nodejs/citgm
-
`lru-cache` fails on Node.js 22Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Outdated maintainers for body-parserCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
nodejs/citgm#1207 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`citgm-smoker` fails `express-session` in `alpine-latest-x64` (openssl: not found)Có thể làm lại được @MikeMcC399 đã nhận 11 ngày trước và không có pull request nào đang mở. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
nodejs/citgm#1200 · 6 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`microtime` fails on macOS, Windows & Alpine LinuxCó thể đã có người làm @MikeMcC399 đã nhận 12 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
nodejs/citgm#1175 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`@yarnpkg/cli` v4 fails in Node.js 22 (macos/ubuntu)Có thể đã có người làm @MikeMcC399 đã nhận 10 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
nodejs/citgm#1164 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
-
tech-debt
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
srikanth235/centraid#1155 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
microsoft/monaco-editor#5563 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Package downloads never retry: getUrlWithResuming's retry catch cannot see a rejected requestĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày