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.

7 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
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
ERR_OSSL_EVP_UNSUPPORTED

digital envelope routines::unsupported の直し方(Node.js の ERR_OSSL_EVP_UNSUPPORTED)

node:18-alpine · webpack 4 / CRA · OpenSSL 3 hashing

npm run build(webpack、Create React App、vue-cli、Angular など)が、次のエラーで突然落ちるようになったら、原因はほぼ確実に Node のバージョンを上げたことです。


Node.js 5 min read
node verified
ERR_REQUIRE_ASYNC_MODULE

require() cannot be used on an ESM graph with top-level await の直し方(Node.js の ERR_REQUIRE_ASYNC_MODULE)

node:22 · require() of top-level await ESM

Node を新しめのバージョンに上げたあと、CommonJS から ESM を require() すると次のエラーで落ちることがあります。


Node.js 3 min read
node verified
ERR_REQUIRE_ESM

require() of ES Module not supported の直し方(Node.js の ERR_REQUIRE_ESM)

node:18-alpine · require() in CommonJS

CommonJS(.cjs や require() を使うコード)から ESM 専用モジュールを読み込もうとすると、次のエラーで落ちます。


Node.js 3 min read
node verified
ERR_UNKNOWN_FILE_EXTENSION

Unknown file extension ".ts" の直し方(Node.js で TypeScript を直接実行したとき)

node:22.6.0-alpine · node app.ts (no loader)

node app.ts のように TypeScript ファイルを Node で直接実行しようとして、次のエラーで止まることがあります。


Node.js 3 min read
node verified
Named export not found

does not provide an export named / Named export not found の直し方(Node.js)

node:20-alpine · named import from CommonJS

ES Module(ESM)から名前付き import をしたら、次のどちらかのエラーで止まることがあります。


Node.js 3 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.