Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

`crc32-stream` fails on Node.js 26

オープン
#1,172 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@MikeMcC399 がすでに取り組んでいます。

2026年10月20日 から。

  • #1206 @MikeMcC399 による — オープン

評価

難易度
4/5
見積もり時間
1〜2日
初心者へのやさしさ
28/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
技術スタック
javascript, node.js
領域
testing, tooling

調査の方向性

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

https://github.com/nodejs/citgm/blob/4d3d256ce02499dba3ee2b725b2ee6b0d7a51988/lib/lookup.json#L116-L119

cc: @ctalkington

主要言語
JavaScript
スター
608
フォーク
158
平均マージ
2日 17時間
マージ済み PR(30日)
18

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nodejs/citgm のほかの issue

nodejs/citgm の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。