Skip to content

Error: Illegal arguments: string, undefined #146

Closed as not planned
Closed as not planned
@Pro-Developer01

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions