`crc32-stream` fails on Node.js 26
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 4/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 28/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 活発
- 技術スタック
- javascript, node.js
調査の方向性
This citgm issue reports that the crc32-stream npm module fails on Node.js 26 with require is not defined in ES module scope. Read the crc32-stream block in lib/lookup.json and the test-module workflow linked in the issue. Reproduce with citgm against Node 22/24/26. Any code change may belong in archiverjs/node-crc32-stream rather than citgm; only adjust lookup or skip if that is how similar failures are handled here.
索引モデルが issue の本文から書いたものです。
説明
Situation
Running citgm crc32-stream passes on Node.js 22 & 24, and fails on Node.js 26
ReferenceError: require is not defined in ES module scope, you can use import instead
| Item | Status |
|---|---|
| npm package | https://www.npmjs.com/package/crc32-stream |
| npm status | not deprecated |
| last published | 7.0.1 Oct 14, 2024 |
| weekly downloads | 56,157,816 |
| repo location | https://github.com/archiverjs/node-crc32-stream |
| repo last update to default branch | Oct 14, 2024 |
| repo status | quiet |
| repo CI status | runs in Node.js 18 & 20 |
| lookup - skip | - |
| lookup maintainer 1 | ctalkington |
Repo CI https://github.com/archiverjs/node-crc32-stream/blob/master/.github/workflows/nodejs.yml runs only in EOL Node.js versions 18 & 20.
Cloning the repo and running local tests using Ubuntu 26.04.1 LTS and running under Node.js 22, 24 & 26 confirm the compatibility issues for Node.js 26.
Steps to reproduce
Run https://github.com/nodejs/citgm/actions/workflows/test-module.yml
Module to test: crc32-stream
CITGM repository to checkout: nodejs/citgm
CITGM GitHub ref to checkout: main
Result
Fails in Node.js 26:
| Node.js | npm | macos | ubuntu | windows |
|---|---|---|---|---|
| 22.23.3 | 10.9.9 | PASS | PASS | PASS |
| 24.21.0 | 11.19.0 | PASS | PASS | PASS |
| 26.10.0 | 11.19.1 | FAIL | FAIL | FAIL |
References
cc: @ctalkington
- 主要言語
- JavaScript
- スター
- 608
- フォーク
- 158
- 平均マージ
- 2日 17時間
- マージ済み PR(30日)
- 18
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nodejs/citgm のほかの issue
-
`citgm-smoker` fails `express-session` in `alpine-latest-x64` (openssl: not found)対応中かも @MikeMcC399 が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
nodejs/citgm#1200 · コメント 6 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
nodejs/citgm#1176 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
`microtime` fails on macOS, Windows & Alpine Linux対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
nodejs/citgm#1175 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
`@yarnpkg/cli` v4 fails in Node.js 22 (macos/ubuntu) & Node.js 26 (win32)対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
task
難易度 1/5 1時間未満 初心者へのやさしさ 83/100
TAMULib/fw-registry#550 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
-
NWCWalletService.subscribe: response is never published if the handler finishes after unsubscribe (regression in 8.1.0)対応中かも @ajaysehwal が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
bigskysoftware/htmx#4151 ·
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100