MACHINE-VERIFIED · FAIL-CLOSED

Version-specific errors,

reproduced and fixed.

errfix reproduces environment- and version-specific errors inside version-pinned containers, then re-checks that the exact signature is gone after the fix.

76 verified fixes · Node · Python · Docker-pinned repro
verify — run-case.mjs
$ node run-case.mjs node/err-require-esm
● reproduce Error [ERR_REQUIRE_ESM] present ✓
● apply fix require(chalk) → await import()
● re-run ERR_REQUIRE_ESM gone ✓
PASS verified · node:18-alpine · signature gone
This exact run is the gate — an article ships only if it passes.
HOW IT WORKS

シグネチャが消えるまで、修正を再実行する。

公開前に五段のパイプラインが走ります。最後のトーン確認以外、すべて機械が担います。

01

Mine

CI ログ・Issue・npm から環境/バージョン固有のエラーを発掘する。

02

Reproduce

バージョン固定の Docker イメージ内で、正確なシグネチャが出るまで再現。fail-closed。

03

Fix & assert

修正を当てて再実行し、ビルドが通るだけでなくシグネチャが消えたことを表明する。

04

Review

AI 判定+有害コマンドの拒否リスト。人間はトーンだけを最後に読む。

05

Publish

再現 → 修正 → シグネチャ消滅を通ったケースだけが記事になる。残りは捨てる。

Latest verified fixes

すべてバージョン固定コンテナ内で再現し、修正後に再チェック済み。ここに机上の推測はありません。

View all errors
node verified
ReferenceError: AbortController is not defined

ReferenceError: AbortController is not defined:古い Node で AbortController が無いときの直し方

node:14.16.1-alpine · use of global AbortController on Node < 15

タイムアウトやキャンセル処理で AbortController を使ったら、古い Node で次のエラーが出て落ちることがあります。


Node.js 4 min read
node verified
Cannot use import statement outside a module

Cannot use import statement outside a module の直し方(Node.js)

node:20-alpine · import in CommonJS

Node でファイルを実行したら、import の行で次のエラーが出て止まることがあります。


Node.js 4 min read
node verified
TypeError: crypto.hash is not a function

TypeError: crypto.hash is not a function:新しい Node の crypto.hash が古い版で無いときの直し方

node:20.11.1-alpine · call to crypto.hash on Node < 20.12 / 21.0-21.6

新しいドキュメントやサンプルで見かけた crypto.hash() をそのまま使ったら、手元やサーバーの Node で次のエラーが出て落ちることがあります。


Node.js 4 min read
node verified
TypeError: crypto.randomUUID is not a function

TypeError: crypto.randomUUID is not a function:古い Node で randomUUID が無いときの直し方

node:14.16.1-alpine · call to crypto.randomUUID on Node < 14.17

UUID を生成しようと crypto.randomUUID() を呼んだら、古い Node で次のエラーが出て落ちることがあります。


Node.js 4 min read
node verified
__dirname is not defined in ES module scope

__dirname is not defined in ES module scope の直し方(Node.js)

node:20-alpine · __dirname in an ESM file

Node で .js を実行したら、次のエラーで落ちることがあります。


Node.js 5 min read
node verified
ERR_MODULE_NOT_FOUND

ERR_MODULE_NOT_FOUND: ESM の相対 import に拡張子が無いときの直し方(Node.js)

node:20-alpine · extensionless relative import in ESM

Node で .js を実行したら、次のエラーで落ちることがあります。


Node.js 5 min read
READY WHEN YOU ARE

Reproduced, fixed, and re-checked before you read it.

No copy-pasted guesses — just errors reproduced in pinned containers and re-checked after the fix. Start where your stack breaks.