エラーコードポータル
Node.jsNode.jsエラーコード

ERR_MISSING_ARGS

missing args

コード ERR_MISSING_ARGS · Node.jsが報告した問題です。

Node.js API の必須引数が渡されませんでした。これは、API 仕様に厳密に準拠するためにのみ使用されます (場合によっては、func(unknown) は受け入れられるが、func() は受け入れられない場合があります)。ほとんどのネイティブ Node.js API では、func(unknown) と func() は同じように扱われ、代わりに ERR_INVALID_ARG_TYPE エラー コードが使用される場合があります。

Google Translate · 自動翻訳です。専門用語や適用条件は英語の原文で確認してください。

A required argument of a Node.js API was not passed. This is only used for strict compliance with the API specification (which in some cases may accept func(undefined) but not func()). In most native Node.js APIs, func(undefined) and func() are treated identically, and the ERR_INVALID_ARG_TYPE error code may be used instead.

トラブルシューティング・診断リンク

まず、文書の製品・バージョン・発生環境が現在の状況と一致しているか確認してください。