ERR_CRYPTO_SCRYPT_INVALID_PARAMETER


crypto.scrypt()crypto.scryptSync() 传递了不兼容的选项组合。新版本的 Node.js 使用错误代码 ERR_INCOMPATIBLE_OPTION_PAIR 代替,这与其他 API 一致。

¥An incompatible combination of options was passed to crypto.scrypt() or crypto.scryptSync(). New versions of Node.js use the error code ERR_INCOMPATIBLE_OPTION_PAIR instead, which is consistent with other APIs.