ES モジュールを require() しようとしました。
require() が同期 ES モジュールのロードをサポートするようになったため、このエラーは非推奨になりました。 require() がトップレベルの await を含む ES モジュールに遭遇すると、代わりに ERR_REQUIRE_ASYNC_MODULE をスローします。
Google Translate · 自動翻訳です。専門用語や適用条件は英語の原文で確認してください。
公式の説明 · 原文
An attempt was made to require() an ES Module.
This error has been deprecated since require() now supports loading synchronous ES modules. When require() encounters an ES module that contains top-level await, it will throw ERR_REQUIRE_ASYNC_MODULE instead.
変更内容: English prose extracted; whitespace normalized; Korean context and classified official links added. Python code examples not redistributed. 翻訳された説明には、自動翻訳であることを表示しています。