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

ERR_CRYPTO_HASH_DIGEST_NO_UTF16

crypto hash digest no utf16

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

UTF-16 エンコーディングは hash.digest() で使用されました。 hash.digest() メソッドではエンコード引数を渡すことができるため、メソッドはバッファではなく文字列を返しますが、UTF-16 エンコード (ucs や utf16le など) はサポートされていません。

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

The UTF-16 encoding was used with hash.digest(). While the hash.digest() method does allow an encoding argument to be passed in, causing the method to return a string rather than a Buffer, the UTF-16 encoding (e.g. ucs or utf16le) is not supported.

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

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