Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Illegal arguments: string, undefined #146

Open
Pro-Developer01 opened this issue Aug 19, 2023 · 1 comment
Open

Error: Illegal arguments: string, undefined #146

Pro-Developer01 opened this issue Aug 19, 2023 · 1 comment

Comments

@Pro-Developer01
Copy link

My code:

const hashedPwd= bcrypt.hash('criouser123')
getting this error

nextTick(callback.bind(this, Error("Illegal arguments: "+(typeof s)+', '+(typeof salt)))); ^ Error: Illegal arguments: string, undefined

image

@MohitBansal321
Copy link

Can you provide a way to reproduce it
codestandbox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants