#Module not found error for bcryptjs

4 messages · Page 1 of 1 (latest)

coarse breach
#

I use bcryptjs in an api route handler and getting "Module not found" error during runtime. Does anyone know why this might be happening?

minor nest
#

I dont know why this error is happening but I recall one user saying they fixed it by using https://www.npmjs.com/package/bcrypt instead

coarse breach
#

It was happening because I installed bcrypt instead of bcryptjs and just types for bcryptjs, so vscode didn't throw any errors.