Open
Description
✅ Deployment Fix – Swapping bcrypt for bcryptjs
To ensure smooth deployment in Chapter 6, follow these steps:
1. Uninstall bcrypt:
pnpm remove bcrypt
2. Install bcryptjs:
pnpm add bcryptjs
3. Update all imports from bcrypt to bcryptjs:
// Change this:
import bcrypt from 'bcrypt';
// To this:
import bcrypt from 'bcryptjs';
4. Commit your changes and re-deploy.
Metadata
Metadata
Assignees
Labels
No labels